optional_install_gmsh_api.sh 376 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. ########## ALL LIBRARIES REQUIRED BY SPARSELIZARD ARE PUT IN ~/SLlibs.
  3. rm -rf ~/SLlibs/gmsh;
  4. mkdir ~/SLlibs;
  5. cd ~/SLlibs;
  6. ########## DOWNLOAD THE GMSH API :
  7. echo '__________________________________________';
  8. echo 'FETCHING THE GMSH API';
  9. rm gmsh*.tgz;
  10. wget http://gmsh.info/bin/Linux/gmsh-4.5.2-Linux64-sdk.tgz;
  11. tar -xf *.tgz;
  12. rm gmsh*.tgz;
  13. mv gmsh* gmsh;