You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing make tests in SPECFEM3D_Globe, the meshfem3D test (./1.test_read.sh) fails with an error indicating that the RECORD_LENGTH_IN_MINUTES parameter is invalid because it is set to zero.
Affected SPECFEM3D_GLOBE version
v8.1.0
Your software and hardware environment
gfortran (12.2.0), OpenMPI (4.1.6), CUDA (12.3.0), x86 + Nvidia A100
Reproduction steps
1. `git clone --recursive --branch v8.1.0 https://github.com/SPECFEM/specfem3d_globe.git`
2. `cd specfem3d_globe`
3. `./configure FC=gfortran MPIFC=mpif90 CFLAGS="-O3" FCFLAGS="-O3" --with-cuda=cuda11 --enable-cuda-aware-mpi CUDA_LIB=$CUDA_HOME/lib64 --prefix=$SCRATCH/<...>`
4. `make tests`
5. See error
Sat Dec 28 17:55:19 CET 2024
processing ./0.configure.default_make.sh :. (00h 00m 19s) [ OK ]
processing ./1.test_read.sh : .test failed
error log:
STOP 1
(00h 00m 00s) [FAILED]
run: Sat Dec 28 17:55:38 CET 2024
NPROC = 4
result is correct
RECORD_LENGTH_IN_MINUTES = 0.0000000000000000
ERROR: RECORD_LENGTH_IN_MINUTES value invalid
ERROR
ERROR test failed, please check file results.log in tests/meshfem3D
ERROR
make: *** [Makefile:609: tests] Error 1
Screenshots
![DESCRIPTION](LINK.png)
Logs
0.configure.default_make.sh obj/
1.test_read.sh OUTPUT_FILES/
2.test_models.sh results.log
3.test_rotate.sh setup/
4.test_save.sh test_models.f90
bin/ test_models.makefile
config.log test_read.f90
config.status test_read.makefile
DATA/ test_rotate.f90
DATABASES_MPI/ test_rotate.makefile
error.log test_save.f90
Makefile test_save.makefile
[mredenti@lrdn0357 specfem3d_globe]$ cat tests/meshfem3D/error.log
STOP 1
[mredenti@lrdn0357 specfem3d_globe]$ cat tests/meshfem3D/results.log
tests in meshfem3D
Sat Dec 28 17:55:19 CET 2024
0.configure.default_make.sh in: /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/tests/meshfem3D
configuration: /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/configure --enable-vectorization --enable-openmp
## ---------------------------- #### setting up compilation flags #### ---------------------------- ##
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether the Fortran compiler works... yes
checking for Fortran compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
configure: running /bin/sh /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/flags.guess
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran... -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib64/../lib64 -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib/../lib64 -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/leonardo/prod/opt/libraries/openmpi/4.1.6/gcc--12.2.0/lib -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib64 -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib -L/leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/gcc-12.2.0-gmhym3kmbzqlpwkzhgab2xsoygsdwxcl/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../.. -lgfortran -lm -lquadmath
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for Fortran flag to compile .f90 files... none
checking for Fortran flag needed to accept free-form source... none
checking for Fortran flag to compile preprocessed .F files... none
checking how to define symbols for preprocessed Fortran... -D
checking for Fortran flag to compile preprocessed .F90 files... none
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
## ----------------- #### module extensions #### ----------------- ##
checking Fortran 90 module extension... mod
checking Fortran 90 module inclusion flag... -I
checking Fortran 90 module output flag... -J
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for emmintrin.h... yes
checking for xmmintrin.h... yes
checking for err.h... yes
checking how to run the C preprocessor... gcc -E
## ------ #### OpenMP #### ------ ##
configure: OpenMP compilation is enabled
configure: OpenMP flag -fopenmp
checking whether OpenMP directives work... yes
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C++ preprocessor... g++ -E
## ------------------- #### FORCE VECTORIZATION #### ------------------- ##
configure: FORCE_VECTORIZATION is enabled
## ---------------- #### git version info #### ---------------- ##
checking for .git/config... yes
configure: building from git repository
## ----------------------------------- #### setting up default simulation setup #### ----------------------------------- ##
configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup/constants.h
config.status: creating setup/constants_tomography.h
config.status: creating setup/precision.h
config.status: creating setup/config.fh
config.status: creating setup/version.fh
config.status: creating DATA/Par_file
config.status: creating DATA/CMTSOLUTION
config.status: creating DATA/STATIONS
config.status: creating setup/config.h
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/CCREM to DATA/CCREM
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/cemRequest to DATA/cemRequest
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/crust1.0 to DATA/crust1.0
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/crust2.0 to DATA/crust2.0
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/crustmap to DATA/crustmap
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/epcrust to DATA/epcrust
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/eucrust-07 to DATA/eucrust-07
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/full_sphericalharmonic_model to DATA/full_sphericalharmonic_model
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/gladm25 to DATA/gladm25
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/heterogen to DATA/heterogen
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/IRIS_EMC to DATA/IRIS_EMC
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/Lebedev_sea99 to DATA/Lebedev_sea99
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/Montagner_model to DATA/Montagner_model
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/mars to DATA/mars
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/moon to DATA/moon
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/old to DATA/old
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/PPM to DATA/PPM
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/QRFSI12 to DATA/QRFSI12
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/s362ani to DATA/s362ani
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/s20rts to DATA/s20rts
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/s40rts to DATA/s40rts
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/sglobe to DATA/sglobe
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/spiral1.4 to DATA/spiral1.4
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/Simons_model to DATA/Simons_model
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/topo_bathy to DATA/topo_bathy
config.status: linking /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/DATA/Zhao_JP_model to DATA/Zhao_JP_model
config.status: executing bin commands
config.status: executing obj commands
config.status: executing OUTPUT_FILES commands
## --------------------- #### Specfem3D_Globe 8.1.0 #### --------------------- ##
/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/configure has completed and set up a default configuration to build.
You may wish to modify the following files before building:
DATA/Par_file Set parameters affecting the build and simulation
before running make and compiling.
DATA/CMTSOLUTION Set the source parameters before running the solver.
DATA/STATIONS Set the receiver stations before running the solver.
successful configuration
compilation: xmeshfem3D
....
gfortran -g -O2 -DUSE_OPENMP -fopenmp -std=gnu -fimplicit-none -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -O3 -finline-functions -DFORCE_VECTORIZATION -I./setup -J./obj -I./obj -I. -I. -c -o obj/sort_array_coordinates.shared.o /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/src/shared/sort_array_coordinates.f90
/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/src/shared/smooth_weights_vec.F90:83:17:
80 | DO_LOOP_IJK
| 2
......
83 | x1 = xx_elem(INDEX_IJK)
| 1
Warning: Array reference at (1) out of bounds (125 > 5) in loop beginning at (2)
/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/src/shared/smooth_weights_vec.F90:84:17:
80 | DO_LOOP_IJK
| 2
......
84 | y1 = yy_elem(INDEX_IJK)
| 1
Warning: Array reference at (1) out of bounds (125 > 5) in loop beginning at (2)
/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/src/shared/smooth_weights_vec.F90:85:17:
80 | DO_LOOP_IJK
| 2
......
85 | z1 = zz_elem(INDEX_IJK)
| 1
Warning: Array reference at (1) out of bounds (125 > 5) in loop beginning at (2)
gfortran -g -O2 -DUSE_OPENMP -fopenmp -std=gnu -fimplicit-none -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -O3 -finline-functions -DFORCE_VECTORIZATION -I./setup -J./obj -I./obj -I. -I. -c -o obj/spline_routines.shared.o /leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/src/shared/spline_routines.f90
...
compilation: test_read
make[1]: Entering directory '/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/tests/meshfem3D'
gfortran -g -O2 -DUSE_OPENMP -fopenmp -std=gnu -fimplicit-none -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -O3 -finline-functions -DFORCE_VECTORIZATION -I./setup -J./obj -I./obj -I. -I. -o ./bin/test_read test_read.f90 -I./obj ./obj/meshfem3D_par.check_module.o ./obj/auto_ner.shared.o ./obj/count_elements.shared.o ./obj/count_points.shared.o ./obj/define_all_layers.shared.o ./obj/get_model_parameters.shared.o ./obj/get_timestep_and_layers.shared.o ./obj/param_reader.cc.o ./obj/read_compute_parameters.shared.o ./obj/read_parameter_file.shared.o ./obj/read_value_parameters.shared.o ./obj/shared_par.shared_module.o
make[1]: Leaving directory '/leonardo_scratch/large/userinternal/mredenti/POWER_CAPPING/specfem3d_globe/tests/meshfem3D'
run: Sat Dec 28 17:55:38 CET 2024
NPROC = 4
result is correct
RECORD_LENGTH_IN_MINUTES = 0.0000000000000000
ERROR: RECORD_LENGTH_IN_MINUTES value invalid
OS
No response
The text was updated successfully, but these errors were encountered:
Description
When executing
make tests
inSPECFEM3D_Globe
, the meshfem3D test (./1.test_read.sh
) fails with an error indicating that theRECORD_LENGTH_IN_MINUTES
parameter is invalid because it is set to zero.Affected SPECFEM3D_GLOBE version
v8.1.0
Your software and hardware environment
gfortran (12.2.0), OpenMPI (4.1.6), CUDA (12.3.0), x86 + Nvidia A100
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
OS
No response
The text was updated successfully, but these errors were encountered: