Hi,
I have successfully setup a Linux cluster with FDS 6.5.1 and OpenMPI 1.8.4 on all nodes. From this point onwards, my team expects to have all new case runs done with this FDS 6.5.1 or newer, but we also want a working version of FDS 5.5.3 around because it was used for running hundreds of cases on old projects. All our past FDS5 runs were done on Windows and we only got on board with Linux recently in order to resolve MPI clustering issues on Windows. Needless to say, we are still climbing the Linux learning curve. While we only want FDS 5.5.3 for sanity sake, installing it alongside FDS 6.5.1 is appearing to be quite the challenge.
I had downloaded the precompiled version of FDS 5.5.3 for Linux-64 from bintray but this was compiled with LAM/MPI. LAM-MPI is nowhwhere to be found anymore(links are dead) and in some discussions, users noted that it shares the same mpirun name as OpenMPI. This would require the user to be establish a method to run the right mpi program for the right fds even if LAM-MPI can be found. The only plausible option seems to be to compile fds5.5.3 with openmpi 1.8.4.
As a Linux newbie, here is the part where I need the expertise of someone who has compiled fds5.5.3 with OpenMPI 1.8.4 recently or has the skills to do so:
What I have
tried/done so far:
Where I am
lost:
Apologies for not being specific with the compilation errors in this post. I can update this thread with the exact error tomorrow. However, by outlining my steps, I am looking to find out what additional steps I am missing. Are there additional changes that I need to make to compile with OpenMPI-1.8 4? Is the GNU Fortran compiler problematic in general? Should I be looking into getting the Intel Fortran compiler? I am just a clueless newbie at this point.
I would really appreciate if a anyone who has recently compiled FDS 5.5.3 with OpenMPI or has the required skillset could help me out here. I am hoping to not have to dual boot windows just to have a working copy of FDS 5.5.3 on these machines.
Thanks
Sam
First I extracted the precompiled open-mpi 1.8.4 tar uploaded on bintray by fds-smv team and changed all my paths and library paths to this rather than a self compiled version of openmpi 1.8.4 since I figured that this configuration of openmpi was probably used to compile the last few versions of fds6.
Then, I forked and cloned the git
then did a checkout of the SHA associated with the Nov1,2010 edit. In my past attempts I was manually downloading zip fron github website for the files associated with the old commit. Not sure if there was anything wrong with that approach but thought I might as well install git.
I installed the intel fortran compiler as part of the parallel studio xe 2016 suite. Got a serial id for non commercial use emailed to me within a couple of business days and didnt bother downloading most of the develepor tools as long as the core conpilers were getting installed (few hundred megabytes). I used the path of the installed compiler to set the IFORT_COMPILER variable in my .bashrc file.
I used the same make_fds.sh and set_mpidist.sh scripts for new fds6 version as opposed to .csh scripts included in the past. I also scrolled down to mpi_intel_linux_64 in the makefile and changed fortran compiler flags to mpifort instead of mpif77 and c compiler to mpicc instead of icc with the same fortran compiler flag options used in the current fds6 makefile.
After the above, I could get thr compiling to start but got the following errors that were causing it to fail:
LD: cannot find ltorque
LD: cannot find lnuma
This was easily fixed by installing the missing libraries. I simply typed
sudo apt-get update
sudo apt-get install libtorque-dev
sudo apt-get install libnuma-dev
This finally allowed the compilation to finish with just a few warnings. Still not sure if I should have used any different compiler options but I have tested the compiled fds5_mpi_intel_linux_64 and it works.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/928f4733-ca22-457a-870e-cbe740d5959e%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.
To post to this group, send email to fds...@googlegroups.com.