Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

cesm1.2.2 installation

yinjiyuan

Jiyuan Yin
Member
Hi, everyone! Due to some special computing requirements, I need to use the old version cesm1.2.2. But I can't download the installation package.
I filled out a registration request on the CESM official website, but the website keeps reporting errors. As shown below:
1728350362708.png

May I ask why this is? Thank you.
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
I have forwarded this to the help desk that maintains this to see if they can solve this issue.
 
Vote Upvote 0 Downvote
Solution

joneill

Joseph O'Neill
Administrator
Staff member
Jiyuan,

While our web engineer (Ryan) is out on PTO this week, I believe that I've resolved this on our system/webserver. Would you mind trying to register again and letting us know if that did the trick?

Joseph O'Neill
 
Last edited:
Vote Upvote 0 Downvote

yinjiyuan

Jiyuan Yin
Member
Jiyuan,

While our web engineer (Ryan) is out on PTO this week, I believe that I've resolved this on our system/webserver. Would you mind trying to register again and letting us know if that did the trick?

Joseph O'Neill
I'm sorry for only seeing your reply now. I just tried to register again and it showed successful. Thank you very much for your help!
 
Vote Upvote 0 Downvote

maruf2812

Montasir Maruf
Member
I also need to use cesm 1.2.2 on derecho but the older download instruction does not work. Could you please provide me the latest download instruction? Thanks!
 
Vote Upvote 0 Downvote

maruf2812

Montasir Maruf
Member
Thank you @yinjiyuan for you reply. While downloading, I encountered the following error (screenshot attached). I was wondering if this error is nomral. Did you also encounter this type of error?

Thanks! Capture.PNG
 
Vote Upvote 0 Downvote

maruf2812

Montasir Maruf
Member
@yinjiyuan these are the errors I got. Did the following repository work for you?

svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/mct':
svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/quantheory/MCT/tags/compiler_fixes_n04_MCT_2.8.3'
svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/pio':
svn: warning: W170013: Unable to connect to a repository at URL 'http://parallelio.googlecode.com/svn/trunk_tags/pio1_8_12/pio'
 
Vote Upvote 0 Downvote

sacks

Bill Sacks
CSEG and Liaisons
Staff member
I'm seeing the following issues when I try:

I think these may cause real problems (at least the first two):

svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/mct':
svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/quantheory/MCT/tags/compiler_fixes_n04_MCT_2.8.3'

svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/pio':
svn: warning: W170013: Unable to connect to a repository at URL 'http://parallelio.googlecode.com/svn/trunk_tags/pio1_8_12/pio'

svn: warning: W170013: Unable to connect to a repository at URL 'http://parallelio.googlecode.com/svn/genf90/trunk_tags/genf90_140121'

I think this can be ignored:

svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/scripts/ccsm_utils/CMake':
svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/quantheory/CMake_Fortran_utils/tags/CMake_Fortran_utils_140314'

I think this can be ignored unless you're running a case with CISM:

svn: warning: W170013: Unable to connect to a repository at URL 'https://svn-cism-model.cgd.ucar.edu/glimmer-cism2/branches/seacism_cesm1_2_0_rel'

I think this can be ignored unless you're running a case with the SE dycore (e.g., ne30 resolution):

svn: warning: W170013: Unable to connect to a repository at URL 'https://svn-homme-model.cgd.ucar.edu/release_tags/cesm1_2_x_homme1_3_26a/src/share'



I will ask around to see if anyone has successfully obtained CESM1.2 recently, but since this is no longer a supported model version, it may not be possible for us to get all of the needed components available again.
 
Vote Upvote 0 Downvote

jedwards

CSEG and Liaisons
Staff member
Affected Releases CESM1.0.z
Affected Releases CESM1.1.z
Affected Releases CESM1.2.z Googlecode repositories are now off line and the pio and genf90 components of older cesm versions can no longer resolve. We are very sorry for the inconvenience. Here are the changes that you needsubstitute the version numbers in your version for the ones below:In the tools/cprnc/SVN_EXTERNAL_DIRECTORIES change:-genf90 http://parallelio.googlecode.com/svn/genf90/trunk_tags/genf90_140121
+genf90 https://github.com/PARALLELIO/genf90/tags/genf90_140121 In the top level SVN_EXTERNAL_DIRECTORIES change:-models/utils/pio http://parallelio.googlecode.com/svn/trunk_tags/pio1_8_12/pio
+models/utils/pio https://github.com/NCAR/ParallelIO.git/tags/pio1_8_12/pio After each of the above changes run$ svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES .$ svn update
 
Vote Upvote 0 Downvote

sacks

Bill Sacks
CSEG and Liaisons
Staff member
Thanks for that post @jedwards !

And that reminds me of the issue with the MCT external - that the svn GitHub bridge no longer works. A simple fix for that one is:

Code:
cd models/utils
git clone -b compiler_fixes_n04_MCT_2.8.3 https://github.com/quantheory/MCT.git
 
Vote Upvote 0 Downvote

maruf2812

Montasir Maruf
Member
Affected Releases CESM1.0.z
Affected Releases CESM1.1.z
Affected Releases CESM1.2.z Googlecode repositories are now off line and the pio and genf90 components of older cesm versions can no longer resolve. We are very sorry for the inconvenience. Here are the changes that you needsubstitute the version numbers in your version for the ones below:In the tools/cprnc/SVN_EXTERNAL_DIRECTORIES change:-genf90 http://parallelio.googlecode.com/svn/genf90/trunk_tags/genf90_140121
+genf90 https://github.com/PARALLELIO/genf90/tags/genf90_140121 In the top level SVN_EXTERNAL_DIRECTORIES change:-models/utils/pio http://parallelio.googlecode.com/svn/trunk_tags/pio1_8_12/pio
+models/utils/pio https://github.com/NCAR/ParallelIO.git/tags/pio1_8_12/pio After each of the above changes run$ svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES .$ svn update
Thank you @jedwards for your continuous support! I have added the following line:
-genf90 http://parallelio.googlecode.com/svn/genf90/trunk_tags/genf90_140121

+genf90 https://github.com/PARALLELIO/genf90/tags/genf90_140121
in my SVN_EXTERNAL_DIRECTORIES and then use this command: run$ svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES .$ svn update

Looks like there is some error and not working. Is this the right way to pull pio codes?
 
Vote Upvote 0 Downvote

wfc1102@163_com

New Member
I encountered the same issue, but solved it mainly according to above answers by sacks and jedwards. Share the experience incase someone need it.

First, DOWNLOADING

The warning occurs from the very first step to svn cesm1.2.2 to local sever.
svn co --username guestuser --password friendly https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2 cesm1_2_2
svn: warning: W170013: Unable to connect to a repository at URL 'http://parallelio.googlecode.com/svn/genf90/trunk_tags/genf90_140121'

svn: warning: W170013: Unable to connect to a repository at URL 'https://svn-homme-model.cgd.ucar.edu/release_tags/cesm1_2_x_homme1_3_26a/src/share'
svn: warning: W170013: Unable to connect to a repository at URL 'https://svn-cism-model.cgd.ucar.edu/glimmer-cism2/branches/seacism_cesm1_2_0_rel'

svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/mct':
svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/quantheory/MCT/tags/compiler_fixes_n04_MCT_2.8.3'
svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/models/utils/pio':
svn: warning: W170013: Unable to connect to a repository at URL 'http://parallelio.googlecode.com/svn/trunk_tags/pio1_8_12/pio'


svn: warning: W205011: Error handling externals definition for 'cesm1_2_2/scripts/ccsm_utils/CMake':
svn: warning: W170013: Unable to connect to a repository at URL 'https://github.com/quantheory/CMake_Fortran_utils/tags/CMake_Fortran_utils_140314'

(1) genf90
https://github.com/PARALLELIO/genf90/archive/refs/tags/genf90_140121.tar.gz
cd cesm1_2_2/tools/cprnc
tar -xvf genf90_140121.tar.gz
mv genf90_140121 genf90

(2) seacism_cesm
As sacks mentioned: it can be ignored unless you're running a case with the SE dycore (e.g., ne30 resolution)

(3) mct and pio
https://github.com/quantheory/MCT/archive/refs/tags/compiler_fixes_n04_MCT_2.8.3.tar.gz
https://github.com/NCAR/ParallelIO/archive/refs/tags/pio1_8_12.tar.gz
Manually download them and then uploaded to your sever: MCT-compiler_fixes_n04_MCT_2.8.3.tar.gz and ParallelIO-pio1_8_12.tar.gz
cd cesm1_2_2/models/utils/
tar -xvf MCT-compiler_fixes_n04_MCT_2.8.3.tar.gz
mv MCT-compiler_fixes_n04_MCT_2.8.3 mct
mv ParallelIO-pio1_8_12/pio ./
Or
cd cesm1_2_2/models/utils/
git clone -b compiler_fixes_n04_MCT_2.8.3 GitHub - quantheory/MCT: Model Coupling Toolkit
git clone -b pio1_8_12 GitHub - NCAR/ParallelIO: A high-level Parallel I/O Library for structured grid applications
mv MCT mct
mv ParallelIO/pio ./
the second way is ok for downloading other github files
[utils]$ tree -d
.
├── esmf_wrf_timemgr
│ └── unittests
├── mct
│ ├── m4
│ ├── mct
│ ├── mpeu
│ └── mpi-serial
├── pio
└── timing
Noting that the directory of mct and pio are somewhat different. If you ignore the pio issue, it may pop up errors like:
cesm1_2_2/models/csm_share/shr/shr_pcdf_mod.F90(32): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PIO]

(4) CMake
cd cesm1_2_2/scripts/ccsm_utils/
tar -xvf CMake_Fortran_utils_140314.tar.gz
mv CMake_Fortran_utils-CMake_Fortran_utils_140314 CMake

Second, Porting
As jedwards pointed out that 1.2.2.1 is not set up to handle seperate netcdf c and fortran directories so you may need to create a directory tree that links the installed libs into something that will make sence to the build, that is create netcdf/lib and netcdf/include directories, from these lnk the files from the netcdf-c and netcdf-fortran directories and set netcdf to that newly created directory. in NETCDF issue when porting to a new machine.
mkdir -p cesm1_2_2/cesm_env
cd cesm1_2_2/cesm_env
rsync -auv YOUR_DIR/netcdf-fortran-4.5.2/* ./
rsync -auv YOUR_DIR/netcdf-c-4.9.2/* ./
rsync -auv YOUR_DIR/hdf5-1.14.1-2/* ./
Copy their lib and include to cesm_env/
[cesm_env]$ tree -d
.
├── bin
├── cmake
├── include
├── lib
│ └── pkgconfig
├── mod
│ ├── shared
│ └── static
├── plugins
└── share
└── man
├── man1
└── man3

Then assign the NETCDF_PATH with cesm_env in cesm1_2_2/scripts/ccsm_utils/Machines/config_compilers.xml or export NETCDF_PATH to cesm_env
<NETCDF_PATH>~/cesm1_2_2/cesm_env</NETCDF_PATH>
<ADD_SLIBS>-L~/cesm1_2_2/cesm_env/lib -lnetcdff</ADD_SLIBS>

If NOT move netcdf-f, netcdf-fortran (and/or hdf5) together, it may shows warning/error when building:
WARNING: did not find netcdf fortran library
NETCDF built with hdf5 MPIIO support
-- Found HDF5: hdf5-shared (found version "1.14.1") found components: C HL
-- Adding hdf5 libraries
-- Could NOT find NETCDF (missing: NETCDF_Fortran_LIBRARY)

Third, cesm_setup
syntax error at cesm1_2_2/models/drv/bld/build-namelist line 784, near "$model qw(cpl atm lnd ice ocn glc rof wav)"
Can't redeclare "my" in "my" at cesm1_2_2/models/drv/bld/build-namelist line 787, near "my"
Global symbol "$model" requires explicit package name (did you forget to declare "my $model"?) at cesm1_2_2/models/drv/bld/build-namelist line 787.
Execution of cesm1_2_2/models/drv/bld/build-namelist aborted due to compilation errors.
ERROR: cpl.buildnml.csh failed
ERROR: cesm1_2_2/run/fixed560_a/preview_namelists failed: 25344
Again, jedwards solved it in error in producing namelist
you can fix the perl issues by adding a new set of parenthesis around the qw() function so:
go to cesm1_2_2/models/drv/bld/build-namelist around line 787, then
modify
$model qw(cpl atm lnd ice ocn glc rof wav)
to
$model (qw(cpl atm lnd ice ocn glc rof wav))​

Fourth, submitting
./Tools/ccsm_getenv: line 11: syntax error near unexpected token `('
./Tools/ccsm_getenv: line 11: `foreach i (env_case.xml env_build.xml env_run.xml env_mach_pes.xml env_test.xml)'
As alberto_sadde pointed out in ccsm_getenv error with I_TEST_2003 in cesm1_0_4
You will need to run the script using csh your_model.run
Modify YOUR_CASE.submit to
cat > templar <<EOF
# ${BATCHSUBMIT} ./${CASE}.run
csh ./${CASE}.run
EOF
 
Vote Upvote 0 Downvote

liubeilei

LIU
New Member
I encountered the same issue, but solved it mainly according to above answers by sacks and jedwards. Share the experience incase someone need it.

First, DOWNLOADING

The warning occurs from the very first step to svn cesm1.2.2 to local sever.
svn co --username guestuser --password friendly https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2 cesm1_2_2


(1) genf90


(2) seacism_cesm
As sacks mentioned: it can be ignored unless you're running a case with the SE dycore (e.g., ne30 resolution)

(3) mct and pio

Or

the second way is ok for downloading other github files

Noting that the directory of mct and pio are somewhat different. If you ignore the pio issue, it may pop up errors like:


(4) CMake


Second, Porting
As jedwards pointed out that 1.2.2.1 is not set up to handle seperate netcdf c and fortran directories so you may need to create a directory tree that links the installed libs into something that will make sence to the build, that is create netcdf/lib and netcdf/include directories, from these lnk the files from the netcdf-c and netcdf-fortran directories and set netcdf to that newly created directory. in NETCDF issue when porting to a new machine.

Copy their lib and include to cesm_env/


Then assign the NETCDF_PATH with cesm_env in cesm1_2_2/scripts/ccsm_utils/Machines/config_compilers.xml or export NETCDF_PATH to cesm_env


If NOT move netcdf-f, netcdf-fortran (and/or hdf5) together, it may shows warning/error when building:


Third, cesm_setup

Again, jedwards solved it in error in producing namelist
you can fix the perl issues by adding a new set of parenthesis around the qw() function so:


Fourth, submitting

As alberto_sadde pointed out in ccsm_getenv error with I_TEST_2003 in cesm1_0_4
You will need to run the script using csh your_model.run
Modify YOUR_CASE.submit to
Hi, first of all thanks for the solution you provided, may I ask how to solve these two problems that still exist after the third step csm_setup modification qw()?
ERROR: pop2.buildnml.csh failed
ERROR: ../cesm1_2_2/scripts/test1/preview_namelists failed: 25344
 
Vote Upvote 0 Downvote
Top