Changeset 4236 for dynamico_lmdz/simple_physics/bash/compile_XCodeML.sh
- Timestamp:
- Jan 22, 2020, 9:46:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/bash/compile_XCodeML.sh
r4230 r4236 1 1 #!/bin/bash 2 2 3 4 # Compiles the omni-compiler suite, especially the Fortran front-end F_Front 5 # which is used to parse the physics code and (later) check that coding standards are followed. 6 7 # F_Front will be installed in the directory from which this script has been invoked. 8 # Before executing this script, cd to the directory where you want to install. 9 # e.g. > cd $HOME/local . Then F_Front will be in $HOME/local/bin . 10 11 # There are chances this script fails on OSX if the standard gcc is used. You can try with a more recent gcc, which is easy to 12 # install through Homebrew. The XML library libxml2 will be required too : 13 # * install gcc and libxml2 : > brew install gcc libxml2 14 # * check : > which gfortran 15 # * cd to simple_physics/bash/omnicompiler-1.3.2 16 # * run the configure script with : 17 # > CC=/usr/local/bin/gcc-9 ./configure --prefix=$HOME/local --with-libxml2=/usr/local/Cellar/libxml2/2.9.10/ 18 # (your version numbers may be different 19 # * make all install 20 # * even if the full build fails, you may find a working F_Front in xcodeml-tools/F-FrontEnd/src : 21 # > xcodeml-tools/F-FrontEnd/src/F_Front --help 22 # * copy F_Front where desired 23 3 24 PREFIX=$(pwd) 4 25 ROOT=$(dirname $0)
Note: See TracChangeset
for help on using the changeset viewer.