When I complile FVCOM 5.0 using command: make -j 3, I got this error:
bash-4.4$ make -j 3
mpicc -c -O3 -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include func_pointer.c -o func_pointer.o
mpicc -c -O3 -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include partition.c -o partition.o
make: Circular mod_prec.o <- mod_prec.o dependency dropped.
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_prec.F > mod_prec.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_prec.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_vegetation.F > mod_vegetation.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_heatflux_sediment.F > mod_heatflux_sediment.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_vegetation.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_heatflux_sediment.f90
\rm mod_prec.f90
\rm mod_vegetation.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_vector_projection.F > mod_vector_projection.f90
mod_heatflux_sediment.f90:43:7:
43 | USE MOD_UTILS
| 1
Fatal Error: Cannot open module file ‘mod_utils.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [makefile:42: mod_heatflux_sediment.o] Error 1
make: *** Waiting for unfinished jobs....
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_vector_projection.f90
mod_vector_projection.f90:42:7:
42 | USE ALL_VARS
| 1
Fatal Error: Cannot open module file ‘all_vars.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [makefile:43: mod_vector_projection.o] Error 1
Does anyone know how to fix this problem?
When I complile FVCOM 5.0 using command: make -j 3, I got this error:
bash-4.4$ make -j 3
mpicc -c -O3 -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include func_pointer.c -o func_pointer.o
mpicc -c -O3 -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include partition.c -o partition.o
make: Circular mod_prec.o <- mod_prec.o dependency dropped.
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_prec.F > mod_prec.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_prec.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_vegetation.F > mod_vegetation.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_heatflux_sediment.F > mod_heatflux_sediment.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_vegetation.f90
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_heatflux_sediment.f90
\rm mod_prec.f90
\rm mod_vegetation.f90
/usr/bin/cpp -P -traditional -DGFORTRAN -P -traditional -DMULTIPROCESSOR -DLIMITED_NO -DGCN -DRIVER_FLOAT -DTWO_D_MODEL -DTVD -DMETIS_5 -DUSE_NETCDF4 mod_vector_projection.F > mod_vector_projection.f90
mod_heatflux_sediment.f90:43:7:
43 | USE MOD_UTILS
| 1
Fatal Error: Cannot open module file ‘mod_utils.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [makefile:42: mod_heatflux_sediment.o] Error 1
make: *** Waiting for unfinished jobs....
mpif90 -c -O3 -ffree-line-length-none -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/sw-eb/software/OpenMPI/5.0.3-GCC-13.3.0/include -I/sw-eb/software/netCDF-Fortran/4.6.1-gompi-2024a/include -I/sw-eb/software/netCDF/4.9.2-gompi-2024a/include -I/rds/general/user/yq625/home/Software/FVCOM/libs/install/include mod_vector_projection.f90
mod_vector_projection.f90:42:7:
42 | USE ALL_VARS
| 1
Fatal Error: Cannot open module file ‘all_vars.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [makefile:43: mod_vector_projection.o] Error 1
Does anyone know how to fix this problem?