Installing V2.05 on Ubuntu 12.04

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
garyt123

Installing V2.05 on Ubuntu 12.04

Post by garyt123 »

Hello All,

This may help others who get stuck as I did during installation on a new installation of Ubuntu 12.04. Installing V2.0 using the install script failed during CGNS V3 compilation due to a problem finding openmpi.h. It seemed from the log that a HDF5 file was looking for openmpi.h even though HDF5 had not yet compiled. (?)

My workaround was to install CGNS V2 from Ubuntu's repository and to install CS using this version. Once installed I re-ran the installation script with setup now pointing to the default CGNS V3.

It worked like a charm!

Gary
Yvan Fournier
Posts: 4206
Joined: Mon Feb 20, 2012 3:25 pm

Re: Installing V2.05 on Ubuntu 12.04

Post by Yvan Fournier »

Hello,

I rarely use the automatic installer, but on Ubuntu (12.04 also), I usually use the packaged HDF5 version, and compile CGNS so as to have CGNS3.

Though on Ubuntu, you may have packages for both serial or parallel builds of HDF5.

Also, finding the mpi.h include header might depend not only on the presence of openmpi-dev, but also on the mpi-defaults package, which sets up links to a default MPI version when several are available (this leads to installs in the standard search paths, but can get messy when several MPI library packages are installed and you do not want to use the one selected by default).

Best regards,

Yvan
eitriv

Re: Installing V2.05 on Ubuntu 12.04

Post by eitriv »

Ubuntu 12.04 has 2.1.0-4 in the repositories which works very well, is there any reason to compile?
Yvan Fournier
Posts: 4206
Joined: Mon Feb 20, 2012 3:25 pm

Re: Installing V2.05 on Ubuntu 12.04

Post by Yvan Fournier »

Hello,

You only need to compile if you want to upgrade from 2.1.4 to a version with bug fixes (current version is 2.1.7), or to 2.2. If you are happy with the packaged version, do not bother compiling it.

To check if upgrading is useful, see the "ChangeLog" file here: http://code-saturne.org/viewvc/saturne/ ... ersion2_1/.

for version 2.2, the ChangeLog is generated automatically, so you would need to download the version from this site and check the ChangeLog to see if an upgrade is worthwhile (or use "subversion" commands on the repository).

Best regards,

Yvan
Post Reply