Quantcast
Channel: Installation - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 284

Ubuntu 14.04LTS installation notes

$
0
0
I just installed COMSOL 5 on Ubuntu 14.04LTS. Here are my notes in case they could help somebody.

Linux install is a bit of a pain because COMSOL's idea of "support" for unix is, umm..., calibrated differently than for other OS's. In any case, linux install was well worth it. In my preliminary benchmark linux was _twice_ as fast as Windoze running COMSOL and seems to use memory more effectively.

Notes:

-- COMSOL on linux requires LSB support that is not in Ubuntu 14.04LTS by default. Before installing COMSOL you should run

sudo apt-get install lsb-core

to install the LSB dynamic linker

-- I dowloaded COMSOL50_glnxa64.tar.gz. I untarred. Changed to the untarred directory. I ran "sudo ./setup". Answered the questions. Took defaults. Specified my license file, my names, etc.... Click Install. Everything seemed to install OK with no error. The whole pile goes into /usr/local/comsol50 and noplace else. Obviously this approach doesn't give you a working installation. The COMSOL devs don't know about RPMs and such, apparantly.

--No license manager startup is installed. I had to do this manually. The COMSOL devs apparantly have never heard of upstart and such. There's a template rc script in

/usr/local/comsol50/multiphysics/license/glnxa64/rc.lm

You can edit this rc script and paste it into /etc/rc.local before the exit 0. Make sure /etc/rc.local is executable. Reboot and this should start LMCOMSOL

--No desktop icon is created by the installer, nor is there a "comsol" command in the command line path.
You'll find some windoze icon files in the installer directory. I converted one to PNG using gimp. Adding desktop launchers are descripbed here help.ubuntu.com/community/UnityLaunchersAndDesktopFiles

--If you'd rather have a comsol command to run from the command line you can make a symblink to /usr/local/bin as described in COMSOL support "solution" 1086. But be careful cutting and pasting. The command for creating a symbolic link is incorrect. It should be

sudo ln -s /usr/local/comsol50/multiphysics/bin/comsol /usr/local/bin/comsol

not what appears in the COMSOL solution

sudo ln –s /usr/local/comsol50/multiphysics/bin/comsol /usr/local/bin/comsol # WRONG!

That one had me going for a few minutes.

-------------------

Anyway, I hope this helps somebody.

Viewing all articles
Browse latest Browse all 284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>