Cluster install (Raijin)

Submitted by mardussa on Thu, 11/09/2017 - 00:49

Hi everyone,

I am trying to build LIGGGHTS 3.7 on the Raijin cluster at NCI in Aus. LIGGGHTS-3.6 is already installed on the cluster, but I am aiming to install and use CFDEM as I have on the Uni cluster (which is being decommissioned next month, hence moving to Raijin).

The cluster already has VTK 6.3 installed, however I have decided initially to compile without VTK by altering the Makefiles I use, removing -DLAMMPS_VTK and the VTK library and include locations.

I have initially tried to use Makefile.lise_fpic as in the description of it, it says it was for a cluster install, seemed like the most appropriate to start with. I have run make lise_fpic in /src and it end up with the following error:

...write_dump.o write_restart.o -lmpich -lmpichcxx -lstdc++ -o ../lmp_lise_fpic
/usr/bin/ld: cannot find -lmpich
make[1]: *** [../lmp_lise_fpic] Error 1
make[1]: Leaving directory `/short/qq34/rh2043/LIGGGHTS/LIGGGHTS-PUBLIC/src/Obj_lise_fpic'
make: *** [lise_fpic] Error 2

It appears that it is not able to find the MPI library names as defined in Makefile.lise_fpic however I am not sure what the MPI names should be, or where they are located. I know that there is an OpenMPI install located at /apps/openmpi/[version number] which has the bin/ include/ etc/ lib/ share/ within them.

Im just not sure how to define the correct MPI_INC MPI_PATH and MPI_LIB inputs in the Makefile. Does anyone have any ideas?

Please let me know, as the Uni cluster is shutting down in about 1 month so would really like to not have any down time.

Kind regards,

Rob

aaigner's picture

aaigner | Fri, 11/10/2017 - 21:27

Hi Rob,

since your cluster does not has MPICH as Lise at the Johannes Kepler University Linz (that's the JKU) you have to remove the libraries.

A simple comparison between Makefile.lise_fpic and Makefile.mpi shows that the main differences are the additional MPICH libraries and that special VTK path for LISE.
So just remove the MPICH libraries and that VTK stuff and it should work. *fingerscrossed*

Or just use Makefile.mpi ;-)

Best wishes
Andreas