I was following the tutorial creating a surface dataset for a single point (1.6.3. Running Single Point Configurations — ctsm release-clm5.0 documentation), but I got confused when I tried to create the executable gen_domain. My commands are as follows:
cd ../../../../tools/mapping/gen_domain_files/src
../../../configure --macros-format Makefile --mpilib mpi-serial --machine B500
Then I got xml and Macros.make files. env_mach_specific.xml & Macros.make
I tried gmake, but got error like this
f77 -c -DCESMCOUPLED -D -DOPT -I/usr/sw-cluster/apps/soft/3rdLib/netcdf/4.7.4/intel2017/include -I/usr/sw-cluster/apps/soft/3rdLib/netcdf/4.7.4/intel2017/include gen_domain.F90
f77: gen_domain.F90:The linker is not used to enter the file because the link is not yet complete
f77 -o ../gen_domain gen_domain.o -L -lnetcdf
f77: gen_domain.o:no such file or dir
gmake: *** [../gen_domain] error 1
Any suggestion will be much appreciated!
cd ../../../../tools/mapping/gen_domain_files/src
../../../configure --macros-format Makefile --mpilib mpi-serial --machine B500
Then I got xml and Macros.make files. env_mach_specific.xml & Macros.make
I tried gmake, but got error like this
f77 -c -DCESMCOUPLED -D -DOPT -I/usr/sw-cluster/apps/soft/3rdLib/netcdf/4.7.4/intel2017/include -I/usr/sw-cluster/apps/soft/3rdLib/netcdf/4.7.4/intel2017/include gen_domain.F90
f77: gen_domain.F90:The linker is not used to enter the file because the link is not yet complete
f77 -o ../gen_domain gen_domain.o -L -lnetcdf
f77: gen_domain.o:no such file or dir
gmake: *** [../gen_domain] error 1
Any suggestion will be much appreciated!