I am trying to compile SCRIP_COAWST from the word document and I am using the gfortran compiler. But when I use make it doesn't create the .exe file, I don't know why, I did use netcdf4. Here is my out file
Also, I used '--enable-netcdf-4' to see if ndtcdf4 was installed according to another answer and I did receive a yes answer.
please help me.
Code: Select all
cp -f /usr/local/netcdf4/include/netcdf.inc .
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./kinds_mod.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./constants.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./iounits.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./netcdf.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./scripwrap_mod.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./create_fullgrid.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./grids.f
/usr/bin/cpp -P -traditional -w -DMPI ./read_swan.f ./read_swan.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./read_swan.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./read_ww3.f
/usr/bin/cpp -P -traditional -w -DMPI ./read_roms.f ./read_roms.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./read_roms.fpp
/usr/bin/cpp -P -traditional -w -DMPI ./read_wrf.f ./read_wrf.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./read_wrf.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./read_hydro.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_vars.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_distwgt.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./timers.f
/usr/bin/cpp -P -traditional -w -DMPI ./remap_conserv.f ./remap_conserv.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_conserv.fpp
/usr/bin/cpp -P -traditional -w -DMPI ./remap_bilinear.f ./remap_bilinear.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_bilinear.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_bicubic.f
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./remap_write.f
/usr/bin/cpp -P -traditional -w -DMPI ./scrip.f ./scrip.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./scrip.fpp
/usr/bin/cpp -P -traditional -w -DMPI ./create_masks.f ./create_masks.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./create_masks.fpp
/usr/bin/cpp -P -traditional -w -DMPI ./scrip_coawst.f ./scrip_coawst.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include -c ./scrip_coawst.fpp
/usr/local/coawst/mpich/bin/mpif90 -frepack-arrays -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -frecord-marker=4 -fconvert=big-endian -I/usr/include kinds_mod.o constants.o iounits.o netcdf.o scripwrap_mod.o create_fullgrid.o grids.o read_swan.o read_ww3.o read_roms.o read_wrf.o read_hydro.o remap_vars.o remap_distwgt.o remap_conserv.o remap_bilinear.o remap_bicubic.o timers.o remap_write.o scrip.o create_masks.o scrip_coawst.o -o ./scrip_coawst -L/usr/local/netcdf4/lib -lnetcdff