[AMBER] compiling amber 22 with gcc 11 / cuda 11.6: cuda error with mdgx

From: Vlad Cojocaru via AMBER <amber.ambermd.org>
Date: Sun, 2 Apr 2023 17:50:20 +0200

Dear Ambers,

I am trying to compile Amber 22 using gcc 11.2.0 , cuda 11.6 on a remote
HPC machine but I am getting the error below. Does anyone have an advice
on how to fix this ?

Thanks a lot
Vlad


/u/vcojocar/apps/amber/22_tools-22_gnu-11.2.0_openmpi-4.1.4/AmberTools/src/mdgx/AmberNetcdf.c:
In function ‘netcdfLoad’:
/u/vcojocar/apps/amber/22_tools-22_gnu-11.2.0_openmpi-4.1.4/AmberTools/src/mdgx/AmberNetcdf.c:281:9:
warning: ‘%s’ directive argument is null [-Wforma
t-overflow=]
  281 |         printf("WARNING: Netcdf restart file %s has time units
of %s - expected picosecond.\n",
      |
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  282 |                filename, attrText);
      |                ~~~~~~~~~~~~~~~~~~~
[ 85%] Building C object
AmberTools/src/mdgx/CMakeFiles/mdgx.cuda.dir/mdgx.c.o
[ 85%] Linking CXX executable mdgx.cuda
/usr/bin/ld:
CMakeFiles/mdgx.cuda.dir/mdgx.cuda_generated_ArraySimulator.cu.o: in
function `GetGpuSpecs':
tmpxft_0000c10d_00000000-6_ArraySimulator.compute_80.cudafe1.cpp:(.text+0x128):
undefined reference to `nvmlDeviceGetComputeRunningProcesses_v3'
collect2: error: ld returned 1 exit status
make[2]: ***
[AmberTools/src/mdgx/CMakeFiles/mdgx.cuda.dir/build.make:859:
AmberTools/src/mdgx/mdgx.cuda] Error 1
make[1]: *** [CMakeFiles/Makefile2:8737:
AmberTools/src/mdgx/CMakeFiles/mdgx.cuda.dir/all] Error 2
make: *** [Makefile:156: all] Error 2


-- 
Dr. Vlad Cojocaru (PD, Habil.)
----------------------------------------------
Guest Scientist / Fmr. Project Group Leader
Max Planck Institute for Molecular Biomedicine
Röntgenstrasse 20, 48149 Münster, Germany
----------------------------------------------
Email:vlad.cojocaru.mpi-muenster.mpg.de
http://www.mpi-muenster.mpg.de/43241/cojocaru
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Apr 02 2023 - 09:00:02 PDT
Custom Search