ocgabs / Caribbean

NEMO regional configuration of the Caribbean
GNU General Public License v3.0
0 stars 0 forks source link

Familiarize with PARCELS #18

Open ocgabs opened 3 years ago

ocgabs commented 3 years ago

Instructions to install and several tutorials can be followed online at: https://oceanparcels.org/ People have had issues to install the environment on livljobs you can try out instructions circulated by Max, if it doesn't work you can use an existing environment from me or Val.

ocgabs commented 3 years ago

To use my environment with an old version of PARCELS installed on livljobs just do: module load anaconda source activate /work/gmaya/pparcels When you are inside the environment the path or name of it will appear on the terminal in () before the pointer.

(base) livljobs8 ~ $ source activate /work/gmaya/pparcels (/work/gmaya/pparcels) livljobs8 ~ $

You can see I have switched from the (base) environment to (/work/gmaya/pparcels) So you can now run parcels scripts in this terminal i.e. python /projectsa/NEMO/gmaya/CollabVG/test_val.py Stuff will show up on your terminal while it runs, in a matter of minutes 10 or so it will finsih, hopefully happy with no errors. The output will be a netCDF, the name is specified inside the python script.

mpayopayo commented 3 years ago

@ocgabs I'm trying to use your environment, but it doesn't recognise it:

livljobs8 test_mpp $ module load anaconda livljobs8 test_mpp $ source activate /work/gmaya/pparcels Not a conda environment: /work/gmaya/pparcels

Any ideas?