Compilation error while building JEANZAY_NVIDIA_ACC configuration on JZ
The error:
[info] compile+ ---- U abort_mod.mod <- abort.F90
[FAIL] mpif90 -o o/mpipara.o -c -I./include -i4 -r8 -acc -ta=tesla:cc70 -Minfo=accel -pg -gopt -traceback -fast -I/gpfslocalsup/spack_soft/netcdf-c/4.7.4/nvhpc-21.3-4im6i7qjxivnfxwe5j7qfndganlbeyct/include -I/gpfslocalsup/spack_soft/hdf5/1.12.0/nvhpc-21.3-jcec56jbitgvmmliqfymxcgphe2z5xy7/include -I/gpfslocalsup/spack_soft/netcdf-fortran/4.5.3/nvhpc-21.3-apj36uwp7i7x7a2mapyu7p3nfshhff7z/include -I/gpfslocalsup/spack_soft/netcdf-fortran/4.5.3/nvhpc-21.3-apj36uwp7i7x7a2mapyu7p3nfshhff7z/include -I/gpfsscratch/rech/wuu/ump84rg/test-dynamico/DYNAMICO/../XIOS/inc /gpfsssd/scratch/rech/wuu/ump84rg/test-dynamico/DYNAMICO/preprocess/src/parallel/mpipara.F90 # rc=2
[FAIL] NVFORTRAN-F-0004-Corrupt or Old Module file /gpfsscratch/rech/wuu/ump84rg/test-dynamico/DYNAMICO/../XIOS/inc/xios.mod (/gpfsssd/scratch/rech/wuu/ump84rg/test-dynamico/DYNAMICO/devel/parallel/mpipara.F90: 56)
[FAIL] NVFORTRAN/x86-64 Linux 21.3-0: compilation aborted
[FAIL] compile 0.5 ! mpipara.o <- parallel/mpipara.F90
[info] compile 0.6 M signature_mod.o <- base/signature.f90
[info] compile+ 0.0 M signature_mod.mod <- base/signature.f90
[info] compile targets: modified=1, unchanged=33, failed=1, total-time=1.1s
[info] compile+ targets: modified=1, unchanged=33, failed=0, total-time=0.0s
[info] TOTAL targets: modified=2, unchanged=66, failed=2, elapsed-time=1.4s
[FAIL] ! mpipara.mod : depends on failed target: mpipara.o
[FAIL] ! mpipara.o : update task failed
[FAIL] make build # 1.7s
[FAIL] make # 2.2s
cp: cannot stat 'build/lib/libicosa_gcm.a': No such file or directory
cp: cannot stat 'build/bin/icosa_gcm.exe': No such file or directory
Changing to -parallel none
nor -parallel mpi_omp
doesn't help.
The steps to reproduce the error (reproduce.sh
):
#!/bin/bash
module load svn
# Get XIOS and DYNAMICO
svn co http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS3/trunk XIOS_2322 -r 2322
git clone https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico.git DYNAMICO
ln -s XIOS_2322/ XIOS
# Build XIOS
cd XIOS/
./make_xios --arch X64_JEANZAY --job 8
# Build DYNAMICO
cd ../DYNAMICO
./make_icosa -devel -arch JEANZAY_NVIDIA_ACC -parallel mpi -with_xios -job 8
Edited by Patryk Kiepas