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
Installing V2.05 on Ubuntu 12.04
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installing V2.05 on Ubuntu 12.04
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
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
Re: Installing V2.05 on Ubuntu 12.04
Ubuntu 12.04 has 2.1.0-4 in the repositories which works very well, is there any reason to compile?
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installing V2.05 on Ubuntu 12.04
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
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