How do I get schism to compile the last 6-10% ?
repos tried: ISM v2, master, ISM_Balg
Is something too old ?
cmake version 3.24.1
Intel Fortran 11.0.081
GNU Make 3.82
Our Cmake run was successful:
cmake run: /usr/local/bin/cmake -D CMAKE_C_COMPILER=/usr/bin/gcc -D CMAKE_Fortran_COMPILER=/modeling/tools/intel/11.0.081/bin/intel64/ifort -C ../cmake/SCHISM.local.build -C ../cmake/SCHISM.local.cmake.bora ../src/
But, it appears make is sending some paramaters that the Intel compiler doesn't. Could this be a bug ?
make: make pschism VERBOSE=1
repo: ISM_Balg
output from:
[ 94%] Building Fortran object Hydro/CMakeFiles/hydro.dir/schism_init.F90.o
cd /home/centos/schism/build/Hydro && /modeling/tools/intel/11.0.081/bin/intel64/ifort -DMPIVERSION=2 -DPREC_EVAP -DSCHISM -DTVD_VL -DUSE_ANALYSIS -DUSE_HYDRO -DUSE_SCHISM -I/modeling/tools/intel/compilers_and_libraries_2017.2.174/linux/mpi/intel64/include -I/modeling/tools/lib/netcdf/netcdf-4.4.1.1-intel/include -I/home/centos/schism/build/include -I/modeling/tools/lib/netcdf/netcdf-4.4.1.1-intel/include -O2 -mcmodel=medium -assume byterecl -ipo -axCORE-AVX2 -xSSE4.2 -module ../include -cpp -c /home/centos/schism/src/Hydro/schism_init.F90 -o CMakeFiles/hydro.dir/schism_init.F90.o
ifort: command line warning #10130: unknown extension 'C' ignored in option '-ax'
ifort: command line warning #10130: unknown extension 'R' ignored in option '-ax'
ifort: command line warning #10130: unknown extension 'E' ignored in option '-ax'
ifort: command line warning #10130: unknown extension '-' ignored in option '-ax'
ifort: command line warning #10130: unknown extension 'A' ignored in option '-ax'
ifort: command line warning #10130: unknown extension 'V' ignored in option '-ax'
ifort: command line warning #10130: unknown extension 'X' ignored in option '-ax'
ifort: command line warning #10130: unknown extension '2' ignored in option '-ax'
/home/centos/schism/src/Hydro/schism_init.F90(188): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [LEVEL_AGE]
&level_age,vclose_surf_frac,iadjust_mass_consv0,ipre2, &
------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_HYDRO]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-----------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_WWM]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
---------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_GEN]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-----------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_AGE]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_SED]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
---------------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_ECO]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-----------------------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_ICM]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-------------------------------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_COS]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
---------------------------------------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(192): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_FIB]
namelist /SCHOUT/nc_out,iof_hydro,iof_wwm,iof_gen,iof_age,iof_sed,iof_eco,iof_icm,iof_cos,iof_fib, &
-----------------------------------------------------------------------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(193): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_SED2D]
&iof_sed2d,iof_ice,iof_ana,iof_marsh,iof_dvd, &
------^
/home/centos/schism/src/Hydro/schism_init.F90(193): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_ICE]
&iof_sed2d,iof_ice,iof_ana,iof_marsh,iof_dvd, &
----------------^
/home/centos/schism/src/Hydro/schism_init.F90(193): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_ANA]
&iof_sed2d,iof_ice,iof_ana,iof_marsh,iof_dvd, &
------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(193): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_MARSH]
&iof_sed2d,iof_ice,iof_ana,iof_marsh,iof_dvd, &
--------------------------------^
/home/centos/schism/src/Hydro/schism_init.F90(193): error #6578: A NAMELIST group object must not be an allocatable object, a pointer, or a variable of a type that has an ultimate component that is a pointer or an allocatable array. [IOF_DVD]
&iof_sed2d,iof_ice,iof_ana,iof_marsh,iof_dvd, &
------------------------------------------^
compilation aborted for /home/centos/schism/src/Hydro/schism_init.F90 (code 1)
make[3]: *** [Hydro/CMakeFiles/hydro.dir/schism_init.F90.o] Error 1
make[3]: Leaving directory /home/centos/schism/build' make[2]: *** [Hydro/CMakeFiles/hydro.dir/all] Error 2 make[2]: Leaving directory
/home/centos/schism/build'
make[1]: *** [Driver/CMakeFiles/pschism.dir/rule] Error 2
make[1]: Leaving directory `/home/centos/schism/build'
make: *** [pschism] Error 2