Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with 'ocn.base.tavg.csh' error #74

Closed
wreckdump opened this issue Sep 29, 2018 · 26 comments
Closed

Build error with 'ocn.base.tavg.csh' error #74

wreckdump opened this issue Sep 29, 2018 · 26 comments
Assignees

Comments

@wreckdump
Copy link

Summary of Issue: Build Error with the following messages below

Expected behavior and actual behavior: It won't build. No problem with Case.Setup .

Steps to reproduce the problem. Include externals description file(s) and link to public repository): I have no idea what the error message means. 'ocn.base.tavg.csh' is in the right directory as indicated in the error message.

What is the changeset ID of the code, and the machine you are using: Proprietary machine named Drybiscuit

have you modified the code? If so, it must be committed and available for testing: The code had not been modified

Screen output or log file showing the error message and context:

[yaman@drybiscuit C0]$ ./case.build
Building case in directory /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0
sharedlib_only is False
model_only is False
Generating component namelists as part of build
Creating component namelists
Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cam//cime_config/buildnml
...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf/camconf/atm_in file2 /home/yaman/Testsite/Climate_Model/Cases/C0/run/atm_in
Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/clm//cime_config/buildnml
Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cice//cime_config/buildnml
...calling cice buildcpp to set build time options
Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop//cime_config/buildnml
...calling pop buildcpp to set build time options
ERROR: Command /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/bld/build-namelist failed rc=2
out=
err=env: ‘/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/input_templates/ocn.base.tavg.csh’: No such file or directory
ERROR ocn.base.tavg.csh: env CASEBUILD=/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf OCN_GRID=gx1v7 /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/input_templates/ocn.base.tavg.csh failed: 32512

@billsacks
Copy link
Member

@alperaltuntas can you take a look at this?

@billsacks
Copy link
Member

@wreckdump please document the version of the code you are using, your create_newcase command, and any changes you made to your case before running ./case.build.

@wreckdump
Copy link
Author

Sorry for the lack of information.

CESM Verion : cesm2.0.0-rc.01
Create newcase command : ./create_newcase --case C0 --compset B1850 --res f19_g17 --pecount 32

Any changes from original : I did 'add' my personal machine to the config_machine.xml file that is located in $SRC/config/cesm/machines. Other than that, I've done nothing

Thank you.

@alperaltuntas
Copy link
Member

@wreckdump Can you check if the following file exists in your local machine: /bin/csh

If the file doesn't exist, try creating a symbolic link in /bin folder by running the following commands:

cd /bin
ln -s `which csh`

@wreckdump
Copy link
Author

wreckdump commented Oct 2, 2018

I didn't have it on my local machine and I did run the commands that you have provided. I tried rebuilding the case and gave me the same error messages.

I did generate 'which csh' symbolic link in side /bin.

Does the command should be ls -s which csh? or ls -s 'which csh'?

@alperaltuntas
Copy link
Member

alperaltuntas commented Oct 2, 2018

Does which csh command return any path? If not, you will have to install csh.
It may also be available via a module in your local machine.

@wreckdump
Copy link
Author

wreckdump commented Oct 2, 2018

I guess I misunderstood your commands. I tried with ln -s which csh and now its giving me following error.

[yaman@drybiscuit C0]$ ./case.build 
Building case in directory /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0
sharedlib_only is False
model_only is False
Generating component namelists as part of build
Creating component namelists
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cam//cime_config/buildnml
     ...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf/camconf/atm_in file2 /home/yaman/Testsite/Climate_Model/Cases/C0/run/atm_in 
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/clm//cime_config/buildnml
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cice//cime_config/buildnml
     ...calling cice buildcpp to set build time options
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop//cime_config/buildnml
     ...calling pop buildcpp to set build time options
ERROR: Command /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/bld/build-namelist failed rc=2
out=/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/input_templates/ocn.base.tavg.csh
err=/bin/csh: invalid option -- 'f'
** can't open file /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf/popconf/base.tavg.nml n at /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/bld/build-namelist line 1940.

@alperaltuntas
Copy link
Member

You should type in exactly the following: ln -s `which csh`, where which csh is enclosed by backtick (`), and NOT single quote ('). Before running the command, though, can you check whether which csh command actually returns any path.

@wreckdump
Copy link
Author

It returns path /usr/bin/csh

@alperaltuntas
Copy link
Member

Then, try the following:

cd /bin
ln -s /usr/bin/csh

and try building again.

@wreckdump
Copy link
Author

Slightly different error.

[yaman@drybiscuit C0]$ ./case.build 
Building case in directory /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0
sharedlib_only is False
model_only is False
Generating component namelists as part of build
Creating component namelists
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cam//cime_config/buildnml
     ...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf/camconf/atm_in file2 /home/yaman/Testsite/Climate_Model/Cases/C0/run/atm_in 
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/clm//cime_config/buildnml
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cice//cime_config/buildnml
     ...calling cice buildcpp to set build time options
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop//cime_config/buildnml
     ...calling pop buildcpp to set build time options
ERROR: Command /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/bld/build-namelist failed rc=2
out=
err=env: ‘/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/input_templates/ocn.base.tavg.csh’: Too many levels of symbolic links
ERROR ocn.base.tavg.csh: env CASEBUILD=/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf OCN_GRID=gx1v7  /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop/input_templates/ocn.base.tavg.csh failed: 32256

@alperaltuntas
Copy link
Member

Hmm. Can you remove the symbolic link and copy the executable instead, as follows:

rm /bin/csh
cp /usr/bin/csh /bin/

@wreckdump
Copy link
Author

Okay. I found out that csh was not installed. I did install it and now it's giving me different error.

[yaman@drybiscuit C0]$ ./case.build 
Building case in directory /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0
sharedlib_only is False
model_only is False
Generating component namelists as part of build
Creating component namelists
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cam//cime_config/buildnml
     ...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Buildconf/camconf/atm_in file2 /home/yaman/Testsite/Climate_Model/Cases/C0/run/atm_in 
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/clm//cime_config/buildnml
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/cice//cime_config/buildnml
     ...calling cice buildcpp to set build time options
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/pop//cime_config/buildnml
     ...calling pop buildcpp to set build time options
     
   Calling /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/components/mosart//cime_config/buildnml
File not found: frivinp_rtm = "/home/yaman/Testsite/Climate_Model/Cases/cesm-inputdata/rof/mosart/MOSART_routing_Global_0.5x0.5_c170601.nc", will attempt to download in check_input_data phase
Invalid values ['10800.0']
ERROR: Variable 'coupling_period' has invalid value ['10800.0'].

@alperaltuntas
Copy link
Member

I believe your default Python version is 3. Can you check your Python version by running the following command:

python --version

If it is Python 3, you will need to switch to Python 2. As a first step, can you check whether you can run python2.7, and then execute ./case.build as follows:

python2.7 ./case.build

@wreckdump
Copy link
Author

wreckdump commented Oct 3, 2018

Yep. It works.

Now.... I am getting a new build error. Should I make an another Issue for this problem since the problem is not relavant to csh anymore?

If not, here is the build log generated by the Makefile (building log :cesm.bldlog.181002-202754)

Building a single executable version of target coupled model
ERROR: Command make exec_se -j 4 EXEC_SE=/home/yaman/Testsite/Climate_Model/Cases/C0/bld/cesm.exe MODEL=driver LIBROOT=/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib -f /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Tools/Makefile  failed rc=2
out=cat: Srcfiles: No such file or directory
/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Tools/mkSrcfiles
cp -f Filepath Deppath
/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Tools/mkDepends  Deppath Srcfiles > Depends
%file_modules
prep_glc_mod.F90 => seq_map_type_mod.mod seq_map_mod.mod t_drv_timers_mod.mod map_glc2lnd_mod.mod shr_assert_mod.mod map_lnd2glc_mod.mod component_type_mod.mod
map_lnd2glc_mod.F90 => shr_assert_mod.mod seq_map_mod.mod seq_map_type_mod.mod
cime_comp_mod.F90 => seq_frac_mct.mod ocn_comp_mct.mod prep_rof_mod.mod component_type_mod.mod seq_flux_mct.mod ice_comp_mct.mod prep_wav_mod.mod prep_ice_mod.mod seq_hist_mod.mod rof_comp_mct.mod seq_domain_mct.mod prep_glc_mod.mod prep_atm_mod.mod atm_comp_mct.mod component_mod.mod prep_lnd_mod.mod prep_ocn_mod.mod seq_diag_mct.mod seq_io_mod.mod seq_map_mod.mod cplcomp_exchange_mod.mod seq_map_type_mod.mod wav_comp_mct.mod seq_rest_mod.mod esp_comp_mct.mod t_drv_timers_mod.mod prep_aoflux_mod.mod glc_comp_mct.mod
prep_atm_mod.F90 => component_type_mod.mod t_drv_timers_mod.mod seq_map_mod.mod seq_map_type_mod.mod
seq_map_type_mod.F90 => 
map_glc2lnd_mod.F90 => seq_map_type_mod.mod seq_map_mod.mod shr_assert_mod.mod
prep_ice_mod.F90 => component_type_mod.mod t_drv_timers_mod.mod seq_map_type_mod.mod seq_map_mod.mod
seq_hist_mod.F90 => prep_ocn_mod.mod seq_io_mod.mod prep_aoflux_mod.mod component_type_mod.mod prep_atm_mod.mod
seq_map_mod.F90 => component_type_mod.mod seq_map_type_mod.mod
map_lnd2rof_irrig_mod.F90 => seq_map_mod.mod seq_map_type_mod.mod shr_assert_mod.mod
seq_flux_mct.F90 => component_type_mod.mod
component_mod.F90 => seq_domain_mct.mod prep_glc_mod.mod prep_ice_mod.mod component_type_mod.mod seq_map_mod.mod cplcomp_exchange_mod.mod seq_map_type_mod.mod t_drv_timers_mod.mod prep_ocn_mod.mod seq_diag_mct.mod prep_lnd_mod.mod
cplcomp_exchange_mod.F90 => seq_map_type_mod.mod seq_diag_mct.mod component_type_mod.mod
seq_domain_mct.F90 => prep_lnd_mod.mod prep_ocn_mod.mod seq_map_mod.mod seq_map_type_mod.mod component_type_mod.mod prep_atm_mod.mod prep_glc_mod.mod
prep_wav_mod.F90 => component_type_mod.mod t_drv_timers_mod.mod seq_map_type_mod.mod seq_map_mod.mod
seq_frac_mct.F90 => seq_map_mod.mod seq_map_type_mod.mod prep_lnd_mod.mod prep_ocn_mod.mod prep_ice_mod.mod prep_atm_mod.mod prep_glc_mod.mod prep_rof_mod.mod component_type_mod.mod
component_type_mod.F90 => seq_map_type_mod.mod
t_driver_timers_mod.F90 => 
prep_rof_mod.F90 => component_type_mod.mod shr_assert_mod.mod prep_lnd_mod.mod seq_map_type_mod.mod seq_map_mod.mod t_drv_timers_mod.mod map_lnd2rof_irrig_mod.mod
mrg_mod.F90 => 
prep_aoflux_mod.F90 => component_type_mod.mod prep_atm_mod.mod prep_ocn_mod.mod seq_map_mod.mod seq_map_type_mod.mod t_drv_timers_mod.mod
seq_rest_mod.F90 => prep_aoflux_mod.mod prep_ocn_mod.mod seq_io_mod.mod seq_diag_mct.mod prep_glc_mod.mod prep_rof_mod.mod component_type_mod.mod
seq_io_mod.F90 => component_type_mod.mod
cime_driver.F90 => cime_comp_mod.mod
prep_ocn_mod.F90 => component_type_mod.mod t_drv_timers_mod.mod seq_map_type_mod.mod seq_map_mod.mod
seq_diag_mct.F90 => component_type_mod.mod
prep_lnd_mod.F90 => component_type_mod.mod map_glc2lnd_mod.mod seq_map_type_mod.mod seq_map_mod.mod t_drv_timers_mod.mod
%file_includes
component_mod.F90 => mpif.h
cplcomp_exchange_mod.F90 => mpif.h
prep_wav_mod.F90 => 
seq_domain_mct.F90 => mpif.h
seq_flux_mct.F90 => 
t_driver_timers_mod.F90 => 
prep_rof_mod.F90 => shr_assert.h
seq_frac_mct.F90 => 
component_type_mod.F90 => 
map_lnd2glc_mod.F90 => shr_assert.h
cime_comp_mod.F90 => mpif.h
seq_map_type_mod.F90 => 
prep_atm_mod.F90 => 
map_glc2lnd_mod.F90 => shr_assert.h
prep_glc_mod.F90 => shr_assert.h
seq_hist_mod.F90 => 
seq_map_mod.F90 => 
map_lnd2rof_irrig_mod.F90 => shr_assert.h
prep_ice_mod.F90 => 
seq_diag_mct.F90 => 
cime_driver.F90 => 
prep_ocn_mod.F90 => 
prep_lnd_mod.F90 => 
seq_io_mod.F90 => 
seq_rest_mod.F90 => 
mrg_mod.F90 => 
prep_aoflux_mod.F90 => 
@check_includes
mpif.h mpif.h mpif.h shr_assert.h shr_assert.h shr_assert.h shr_assert.h shr_assert.h mpif.h
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_map_type_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/t_driver_timers_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/mrg_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/component_type_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_map_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_flux_mct.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_io_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_diag_mct.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/map_glc2lnd_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_ocn_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_ice_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_atm_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/map_lnd2glc_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/map_lnd2rof_irrig_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_wav_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_lnd_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_glc_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_aoflux_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/cplcomp_exchange_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/prep_rof_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_domain_mct.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_hist_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_frac_mct.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/seq_rest_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/component_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/cime_comp_mod.F90
mpif90  -c -I. -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include -I/usr/local/include -I../../atm/obj -I../../ice/obj -I../../ocn/obj -I../../glc/obj -I../../rof/obj -I../../wav/obj -I../../esp/obj -I../../gnu/openmpi/nodebug/nothreads/include -I../../gnu/openmpi/nodebug/nothreads/mct/noesmf/include -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/clm/obj -I. -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/SourceMods/src.drv -I/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main -I/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/include -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none   -O   -DLINUX -DNDEBUG -DHAVE_MPI -DPIO1  -DLINUX   -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DHAVE_SLASHPROC -ffree-form  -DUSE_CONTIGUOUS= /home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/src/drivers/mct/main/cime_driver.F90
mpif90  -o /home/yaman/Testsite/Climate_Model/Cases/C0/bld/cesm.exe cime_comp_mod.o cime_driver.o component_mod.o component_type_mod.o cplcomp_exchange_mod.o map_glc2lnd_mod.o map_lnd2glc_mod.o map_lnd2rof_irrig_mod.o mrg_mod.o prep_aoflux_mod.o prep_atm_mod.o prep_glc_mod.o prep_ice_mod.o prep_lnd_mod.o prep_ocn_mod.o prep_rof_mod.o prep_wav_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_io_mod.o seq_map_mod.o seq_map_type_mod.o seq_rest_mod.o t_driver_timers_mod.o  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -latm  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -lice  -L../../gnu/openmpi/nodebug/nothreads/mct/noesmf/lib/ -lclm  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -locn  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -lrof  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -lglc  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -lwav  -L/home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib/ -lesp  -L../../glc/lib/ -lglimmercismfortran -L../../gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/lib -lcsm_share -L../../gnu/openmpi/nodebug/nothreads/lib -lpio -lgptl -lmct -lmpeu -L/usr/local/lib -lnetcdff -lnetcdf  
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(matrix_operations.o): in function `__matrix_operations_MOD_symm_matrix_eigenvalues':
matrix_operations.F90:(.text+0xf0): undefined reference to `dsyev_'
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(matrix_operations.o): in function `__matrix_operations_MOD_cholesky_factor':
matrix_operations.F90:(.text+0x731): undefined reference to `dpoequ_'
/usr/bin/ld: matrix_operations.F90:(.text+0x7cb): undefined reference to `dlaqsy_'
/usr/bin/ld: matrix_operations.F90:(.text+0x918): undefined reference to `dpotrf_'
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(lapack_wrap.o): in function `__lapack_wrap_MOD_band_solve':
lapack_wrap.F90:(.text+0x5b9): undefined reference to `dgbsv_'
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(lapack_wrap.o): in function `__lapack_wrap_MOD_band_solvex':
lapack_wrap.F90:(.text+0xf5a): undefined reference to `dgbsvx_'
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(lapack_wrap.o): in function `__lapack_wrap_MOD_tridag_solve':
lapack_wrap.F90:(.text+0x1704): undefined reference to `dgtsv_'
/usr/bin/ld: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/lib//libatm.a(lapack_wrap.o): in function `__lapack_wrap_MOD_tridag_solvex':
lapack_wrap.F90:(.text+0x1c29): undefined reference to `dgtsvx_'
/usr/bin/ld: ../../gnu/openmpi/nodebug/nothreads/mct/noesmf/lib//libclm.a(SoilWaterMovementMod.o): in function `__soilwatermovementmod_MOD_soilwater_moisture_form':
SoilWaterMovementMod.F90:(.text+0x2e0b): undefined reference to `dgtsv_'
/usr/bin/ld: ../../gnu/openmpi/nodebug/nothreads/mct/noesmf/lib//libclm.a(UrbBuildTempOleson2015Mod.o): in function `__urbbuildtempoleson2015mod_MOD_buildingtemperature':
UrbBuildTempOleson2015Mod.F90:(.text+0x2dc4): undefined reference to `dgesv_'
/usr/bin/ld: ../../gnu/openmpi/nodebug/nothreads/mct/noesmf/lib//libclm.a(BandDiagonalMod.o): in function `__banddiagonalmod_MOD_banddiagonal':
BandDiagonalMod.F90:(.text+0x6e8): undefined reference to `dgbsv_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcgs.f.o): in function `isdcgs_':
dcgs.f:(.text+0x18d): undefined reference to `dnrm2_'
/usr/bin/ld: dcgs.f:(.text+0x1cc): undefined reference to `dnrm2_'
/usr/bin/ld: dcgs.f:(.text+0x318): undefined reference to `dnrm2_'
/usr/bin/ld: dcgs.f:(.text+0x33b): undefined reference to `dnrm2_'
/usr/bin/ld: dcgs.f:(.text+0x38a): undefined reference to `dnrm2_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcgs.f.o):dcgs.f:(.text+0x3b9): more undefined references to `dnrm2_' follow
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcgs.f.o): in function `dcgs_':
dcgs.f:(.text+0x90f): undefined reference to `ddot_'
/usr/bin/ld: dcgs.f:(.text+0x9da): undefined reference to `daxpy_'
/usr/bin/ld: dcgs.f:(.text+0xa69): undefined reference to `daxpy_'
/usr/bin/ld: dcgs.f:(.text+0xb8c): undefined reference to `ddot_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(glam_strs2.F90.o): in function `__glam_strs2_MOD_fgmres':
glam_strs2.F90:(.text+0x81d): undefined reference to `dcopy_'
/usr/bin/ld: glam_strs2.F90:(.text+0x881): undefined reference to `ddot_'
/usr/bin/ld: glam_strs2.F90:(.text+0xad3): undefined reference to `dcopy_'
/usr/bin/ld: glam_strs2.F90:(.text+0xb03): undefined reference to `dcopy_'
/usr/bin/ld: glam_strs2.F90:(.text+0xb74): undefined reference to `ddot_'
/usr/bin/ld: glam_strs2.F90:(.text+0xbed): undefined reference to `daxpy_'
/usr/bin/ld: glam_strs2.F90:(.text+0xc35): undefined reference to `ddot_'
/usr/bin/ld: glam_strs2.F90:(.text+0x1079): undefined reference to `daxpy_'
/usr/bin/ld: glam_strs2.F90:(.text+0x11b9): undefined reference to `daxpy_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcg.f.o): in function `isdcg_':
dcg.f:(.text+0x132): undefined reference to `dnrm2_'
/usr/bin/ld: dcg.f:(.text+0x236): undefined reference to `dnrm2_'
/usr/bin/ld: dcg.f:(.text+0x28d): undefined reference to `dnrm2_'
/usr/bin/ld: dcg.f:(.text+0x2ad): undefined reference to `dnrm2_'
/usr/bin/ld: dcg.f:(.text+0x300): undefined reference to `dnrm2_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcg.f.o):dcg.f:(.text+0x32e): more undefined references to `dnrm2_' follow
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dcg.f.o): in function `dcg_':
dcg.f:(.text+0x6fa): undefined reference to `dcopy_'
/usr/bin/ld: dcg.f:(.text+0x765): undefined reference to `ddot_'
/usr/bin/ld: dcg.f:(.text+0x7b5): undefined reference to `daxpy_'
/usr/bin/ld: dcg.f:(.text+0x7f0): undefined reference to `daxpy_'
/usr/bin/ld: dcg.f:(.text+0x922): undefined reference to `ddot_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `dhels_':
dgmres.f:(.text+0x129): undefined reference to `daxpy_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `drlcal_':
dgmres.f:(.text+0x1d3): undefined reference to `dscal_'
/usr/bin/ld: dgmres.f:(.text+0x22e): undefined reference to `dcopy_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `dorth_':
dgmres.f:(.text+0x768): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x7fb): undefined reference to `ddot_'
/usr/bin/ld: dgmres.f:(.text+0x84f): undefined reference to `daxpy_'
/usr/bin/ld: dgmres.f:(.text+0x87e): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x947): undefined reference to `daxpy_'
/usr/bin/ld: dgmres.f:(.text+0x98b): undefined reference to `ddot_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `dxlcal_':
dgmres.f:(.text+0xc0e): undefined reference to `daxpy_'
/usr/bin/ld: dgmres.f:(.text+0xc9c): undefined reference to `dcopy_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `isdgmr_':
dgmres.f:(.text+0x10b6): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x110f): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x117b): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x11fb): undefined reference to `dscal_'
/usr/bin/ld: dgmres.f:(.text+0x1379): undefined reference to `dscal_'
/usr/bin/ld: dgmres.f:(.text+0x1583): undefined reference to `dnrm2_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `dpigmr_':
dgmres.f:(.text+0x19b6): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x1a89): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x1c2f): undefined reference to `dscal_'
/usr/bin/ld: dgmres.f:(.text+0x1e10): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x1edc): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x1fac): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x2148): undefined reference to `dscal_'
/usr/bin/ld: dgmres.f:(.text+0x21a4): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x250b): undefined reference to `daxpy_'
/usr/bin/ld: dgmres.f:(.text+0x25d7): undefined reference to `dcopy_'
/usr/bin/ld: ../../glc/lib//libglimmercismfortran.a(dgmres.f.o): in function `dgmres_':
dgmres.f:(.text+0x2a32): undefined reference to `dcopy_'
/usr/bin/ld: dgmres.f:(.text+0x2b1e): undefined reference to `dnrm2_'
/usr/bin/ld: dgmres.f:(.text+0x2c26): undefined reference to `dcopy_'
collect2: error: ld returned 1 exit status
make: *** [/home/yaman/Testsite/Climate_Model/my_cesm_sandbox/cime/scripts/C0/Tools/Makefile:857: /home/yaman/Testsite/Climate_Model/Cases/C0/bld/cesm.exe] Error 1

@alperaltuntas
Copy link
Member

alperaltuntas commented Oct 3, 2018

@wreckdump I think this latest issue (and hopefully the last one) is that lapack and blas libraries don't link properly. If you don't have these libraries, you should install them, but I would first try the following:

  1. Go to your case directory
  2. Open the following text-based file: Tools/Makefile
  3. In that file, go to line 624. It should look like this:
ULIBS += -L$(INSTALL_SHAREDPATH)/$(COMP_INTERFACE)/$(ESMFDIR)/$(NINST_VALUE)/lib -lcsm_share -L$(INSTALL_SHAREDPATH)/lib $(PIOLIBNAME) -lgptl -lmct -lmpeu
  1. Right after that line, add the following as a new line: (keep the original line too)
ULIBS += -llapack -lblas
  1. Try building again
python2.7 ./case.build

If it still doesn't build, you may have to install lapack and blas


As an aside: @jedwards4b, Is there a more proper way to add the flags -llapack -lblas at the linking stage?

@jedwards4b
Copy link
Contributor

@alperaltuntas yes - you add them in config_compilers.xml - here is an example:

<compiler MACH="daint" COMPILER="pgi">
  <SLIBS>
    <append> -llapack -lblas </append>
  </SLIBS>
</compiler>

@wreckdump
Copy link
Author

wreckdump commented Oct 3, 2018

@alperaltuntas yes - you add them in config_compilers.xml - here is an example:

<compiler MACH="daint" COMPILER="pgi">
  <SLIBS>
    <append> -llapack -lblas </append>
  </SLIBS>
</compiler>

Is config_compilers.xml located in $src/cime/config/cesm/machines/ ?

@jedwards4b
Copy link
Contributor

yes, that's correct.

@wreckdump
Copy link
Author

Thank you so much for the help. The case is successfully built. But, I get an error with a following message when I run the code.


mpirun: Error: unknown option "-prepend-rank"
Type 'mpirun --help' for usage.

I think this is the -prepend-rank flag problem which is mentioned in the config_machines.xml.

@jedwards4b
Copy link
Contributor

Find the flag appropriate for your mpirun command (try man mpirun) and replace that one with the correct one, or simply remove it - it's not a required flag. This is a result of blindly cutting and pasting instead of reading and following the porting instructions.

@wreckdump
Copy link
Author

Thank you.

@s449f
Copy link

s449f commented Dec 21, 2021

Hello, I have similar problems, I'm not at building case step but at case.submit step, please help me check, thank you
This case is B185 on the official website
Here is my error message

Calling /home/CESM/components/clm//cime_config/buildnml
Calling /home/CESM/components/cice//cime_config/buildnml
Calling /home/CESM/components/pop//cime_config/buildnml
ERROR: Command /home/CESM/components/pop/bld/build-namelist failed rc=2
out=
err=perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "C.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
env: '/home/CESM/components/pop/input_templates/ocn.base.tavg.csh': No such file or directory
ERROR ocn.base.tavg.csh: env CASEBUILD=/home/CESM/cime/scripts/b.e20.B1850.f19_g17.test/Buildconf OCN_GRID=gx1v7 /home/CESM/components/pop/input_templates/ocn.base.tavg.csh failed: 32512

@klindsay28
Copy link

Collecting the advice of @alperaltuntas from multiple comments earlier in the thread into 1 place:
Does the command which csh return any path? If not, you will have to install csh.
It may be available via a module in your local machine.
Once it is installed, check to see if it is present at the location /bin/csh
by running the command ls -lF /bin/csh.
If it is not there, copy it there by running the command

cp `which csh` /bin/csh

@s449f
Copy link

s449f commented Dec 23, 2021

Collecting the advice of @alperaltuntas from multiple comments earlier in the thread into 1 place: Does the command which csh return any path? If not, you will have to install csh. It may be available via a module in your local machine. Once it is installed, check to see if it is present at the location /bin/csh by running the command ls -lF /bin/csh. If it is not there, copy it there by running the command

cp `which csh` /bin/csh

thanks for your answers ,I input the which csh commands,the massage returned is ~/bin/csh

@s449f
Copy link

s449f commented Dec 24, 2021

thanks for your answers ,I am input which sch command,the massage returned is ~/bin/csh my version is cesm2.1.3
and I changed python2.7 doesn't solve my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants