-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME.betzy
60 lines (44 loc) · 1.94 KB
/
README.betzy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1) Recommended .bashrc content for BETZY
ml purge
ml load CMake/3.23.1-GCCcore-11.3.0
ml load ESMF/8.3.0-iomkl-2022a
ml load FFTW/3.3.10-GCC-11.3.0
ml load UDUNITS/2.2.28-GCCcore-11.3.0
ml load Python/3.10.4-GCCcore-11.3.0
ml load GSL/2.7-intel-compilers-2022.1.0
ulimit -s 2000000 ## if needed
2) Compiling hycom_all under NERSC-HYCOM-CICE/hycom/hycom_ALL/hycom_2.2.72_ALL
# Define "setenv ARCH intelIFC" in Make_all.src
csh Make_all.com
!! NOT COMPLETE
The csh script above does not complete because it gets stuck in archive folder.
Normally it should fail and continue but not this time.
You can compile each folder individually for the time being until the problem is resolved.
Netcdf routines are partly compiled right,
csh Make_ncdf.com
but for someones are interested,
3) Compiling MSCPROGS under NERSC-HYCOM-CICE/hycom/MSCPROGS/src
Go to NERSC-HYCOM-CICE/hycom/MSCPROGS/src/Make.Inc/
execute:
ln -s make.betzy.ifort make.inc
cd ../
gmake clean
gmake all
gmake install
4) Compiling hycom_cice under TP0a1.00/expt_01.0
compile_model.sh ifort -u
5) prepare the python tools on Betzy
### Assuming you downloaded the code to ~/NERSC-HYCOM-CICE (if you already have these libraries installed, then add --upgrade to the lines below)
pip install --user ~/NERSC-HYCOM-CICE/pythonlibs/modeltools
pip install --user ~/NERSC-HYCOM-CICE/pythonlibs/modelgrid
pip install --user ~/NERSC-HYCOM-CICE/pythonlibs/gridxsec
pip install --user ~/NERSC-HYCOM-CICE/pythonlibs/abfile
### TO UPGRADE --> pip install --user --upgrade ~/NERSC-HYCOM-CICE/pythonlibs/abfile
pip install --user cfunits
pip install --user netCDF4
pip install --user netcdftime
pip install --user numpy
pip install --user f90nml
pip install --user scipy
pip install --user pyproj