alang44_gmail
New member
I have upgraded my Mac to Mojave, which forced me to wipe the hard disc. Thus I am recompiling MPAS again from scratch.
I compiled with --disable netcdf4 and followed the ppt from the summer Boulder course.
I have a compile error (for init_atmosphere and atmosphere). It looks like I am missing a library, or a path incorrectly set.
Could anyone point me in the right direction. Details of the error are below.
Thanks
Alan Gadian
alan@env.leeds.ac.uk or alang44@gmail.com
- - - -
mpif90 -D_MPI -DUNDERSCORE -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=v6.1 -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fdefault-real-8 -fdefault-double-8 -c mpas_io.F -I/Users/lecag/MPAS-Model/ParallelIO-pio1_7_1/pio/include -I/Users/lecag/MPAS-Model/parallel-netcdf-1.8.1/include -I/Users/lecag/MPAS-Model/ParallelIO-pio1_7_1/pio/include -I/Users/lecag/MPAS-Model/parallel-netcdf-1.8.1/include -I../external/esmf_time_f90
mpas_io.F:30:43:
integer, parameter :: MPAS_INT_FILLVAL = NF_FILL_INT
1
Error: Parameter 'nf_fill_int' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:31:53:
character, parameter :: MPAS_CHAR_FILLVAL = achar(NF_FILL_CHAR)
1
Error: Parameter 'nf_fill_char' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:44:54:
real (kind=RKIND), parameter :: MPAS_REAL_FILLVAL = NF_FILL_DOUBLE
1
Error: Parameter 'nf_fill_double' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:566:79:
pio_ierr = PIO_def_dim(handle % pio_file, trim(dimname), PIO_unlimited, new_dimlist_node % dimhandle % dimid)
1
Error: Symbol 'pio_unlimited' at (1) has no IMPLICIT type
mpas_io.F:278:37:
pio_mode = PIO_64BIT_DATA
1
Error: Symbol 'pio_64bit_data' at (1) has no IMPLICIT type
make[3]: *** [mpas_io.o] Error 1
make[2]: *** [frame] Error 2
make[1]: *** [mpas_main] Error 2
make: *** [gfortran] Error 2
- - - -
I compiled with --disable netcdf4 and followed the ppt from the summer Boulder course.
I have a compile error (for init_atmosphere and atmosphere). It looks like I am missing a library, or a path incorrectly set.
Could anyone point me in the right direction. Details of the error are below.
Thanks
Alan Gadian
alan@env.leeds.ac.uk or alang44@gmail.com
- - - -
mpif90 -D_MPI -DUNDERSCORE -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=v6.1 -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fdefault-real-8 -fdefault-double-8 -c mpas_io.F -I/Users/lecag/MPAS-Model/ParallelIO-pio1_7_1/pio/include -I/Users/lecag/MPAS-Model/parallel-netcdf-1.8.1/include -I/Users/lecag/MPAS-Model/ParallelIO-pio1_7_1/pio/include -I/Users/lecag/MPAS-Model/parallel-netcdf-1.8.1/include -I../external/esmf_time_f90
mpas_io.F:30:43:
integer, parameter :: MPAS_INT_FILLVAL = NF_FILL_INT
1
Error: Parameter 'nf_fill_int' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:31:53:
character, parameter :: MPAS_CHAR_FILLVAL = achar(NF_FILL_CHAR)
1
Error: Parameter 'nf_fill_char' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:44:54:
real (kind=RKIND), parameter :: MPAS_REAL_FILLVAL = NF_FILL_DOUBLE
1
Error: Parameter 'nf_fill_double' at (1) has not been declared or is a variable, which does not reduce to a constant expression
mpas_io.F:566:79:
pio_ierr = PIO_def_dim(handle % pio_file, trim(dimname), PIO_unlimited, new_dimlist_node % dimhandle % dimid)
1
Error: Symbol 'pio_unlimited' at (1) has no IMPLICIT type
mpas_io.F:278:37:
pio_mode = PIO_64BIT_DATA
1
Error: Symbol 'pio_64bit_data' at (1) has no IMPLICIT type
make[3]: *** [mpas_io.o] Error 1
make[2]: *** [frame] Error 2
make[1]: *** [mpas_main] Error 2
make: *** [gfortran] Error 2
- - - -