Advertisement
Guest User

Clone & Build GLM on ubuntu 18.04

a guest
Dec 13th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. sudo apt install git gfortran-8 libnetcdf-dev libgd-dev
  2. mkdir AquaticEcoDynamics
  3. cd AquaticEcoDynamics
  4.  
  5. git clone https://github.com/AquaticEcoDynamics/libplot.git
  6. cd libplot
  7. make
  8. cd ..
  9.  
  10. git clone https://github.com/AquaticEcoDynamics/libaed2.git
  11. cd libaed2
  12. F90=gfortran-8 make
  13. cd ..
  14.  
  15. git clone https://github.com/AquaticEcoDynamics/libutil.git
  16. cd libutil
  17. F90=gfortran-8 make
  18. cd ..
  19.  
  20. git clone https://github.com/AquaticEcoDynamics/GLM.git
  21. cd GLM
  22. FC=gfortran-8 ./build_glm.sh
  23.  
  24. mkdir ~/.local/bin
  25. ln -s $(realpath glm) ~/.local/bin/glm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement