cpptraj icon indicating copy to clipboard operation
cpptraj copied to clipboard

run_cmake for amber20tools installation

Open DDGmichigan opened this issue 4 years ago • 4 comments

image

DDGmichigan avatar Oct 22 '20 21:10 DDGmichigan

Hello Dan, Any ideas on how to get this fixed? Thanks in advance The set of commands I used after unzipping the amber20.tar.bz2 and amberTools20.tar.bz2 are as follows: cd amber20_src/build vi run_cmake edited the DCUDA=FALSE to DCUDA=TRUE ./run_cmake Everything looked fine Then I did make install It fails after ~ 67% of the run showing the above error

DDGmichigan avatar Oct 22 '20 21:10 DDGmichigan

Note that the cmake build system is not maintained by me; it is actually from a separate repo: https://github.com/Amber-MD/cmake-buildscripts

Second, that MPI is pretty old - maybe try a more recent version of mvapich/openmpi?

Last, try building cpptraj stand-alone (i.e. from the cpptraj subdir with 'configure' and '-amberlib'. If that works it further points to an issue with the cmake build and not necessarily the source code.

drroe avatar Oct 23 '20 07:10 drroe

Hi Dan, So I am about to port some of my free energy runs on a central compute facility so that I can have access to more GPUs. I did spend a day to install AMBER20 and Amber Tools yesterday. I was just curious and wanting to install the cpptraj standalone in the home folder. So I did these steps: module load gcc/8.2.0 module load lapack/3.8.0 module load netcdf-fortran module load netcdf-c module load openblas/0.3.9 module load openmpi/4.0.2 module load lapack/3.8.0 module load cuda/10.1.243 then I did ./configure gnu

It failed here image

DDGmichigan avatar Oct 23 '20 23:10 DDGmichigan

Unless your system has compiler wrappers, it's not enough to load the modules - you need to tell cpptraj where they are. These are usually set with environment variables (e.g. NETCDF_HOME for NetCDF - try env | grep -i netcdf to try and track these down). So you'd have to do something like ./configure --with-netcdf=$NETCDF_HOME ... etc.

drroe avatar Oct 24 '20 13:10 drroe

This issue is pretty old now and hopefully was resolved; please feel free to reopen it if not.

drroe avatar Jul 02 '24 12:07 drroe