-
Notifications
You must be signed in to change notification settings - Fork 11
/
README.fram
58 lines (42 loc) · 1.83 KB
/
README.fram
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
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1) Recommended .bashrc content for FRAM
ml purge
module load Python/3.10.4-GCCcore-11.3.0
module load ESMF/8.3.0-intel-2022a
module load FFTW/3.3.10-GCC-11.3.0
module load UDUNITS/2.2.28-GCCcore-11.3.0
module load CMake/3.23.1-GCCcore-11.3.0
module load intel/2022a
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
csh Make_ncdf.com
3) Compiling MSCPROGS under NERSC-HYCOM-CICE/hycom/MSCPROGS/src
Go to NERSC-HYCOM-CICE/hycom/MSCPROGS/src/Make.Inc/
Ensure "LIBS=-lnetcdf -lnetcdff -lfftw3 -lmkl" in the make.fram.ifort
execute:
ln -s make.fram.ifort make.inc
cd ../
gmake clean
gmake all
gmake install
4) Compiling hycom_cice under TP0a1.00/expt_01.0
compile_model.sh -m fram ifort
5) On occation a problem with the c-compile can occur, this can be solved by adding these two lines to .bashrc
export LANG=en_US.UTF-8
export LC_ALL=en_US.utf8
6) prepare the python tools on Fram
### 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 cmocean
pip install --user f90nml
pip install --user scipy
pip install --user pyproj