Skip to content
Helen Burns edited this page Oct 4, 2016 · 6 revisions

Building MITgcm executable

Some extra pieces of information I'm likely to forget in the future will be stored here!

Building a debugger!

  1. define an environment variable GSLLIB='-lgsl -lgslcblas' (in optfile!)

now run

genmake2 --mpi --gsl --mods=../code --optfile=../linux_mobilis_opt_avx_debug

adding in the -gsl flag!

define an environment variable

export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized,mask-invalid,mask-division-by-zero

Run code in debug mode (set in eedata)

NB: I had to install gsl (straight forward with gcc compilers

Clone this wiki locally