Skip to content
Snippets Groups Projects
Commit 1ad14123 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan
Browse files

Juan 10/08/2022:configure+mnh_expand: add tar...

Juan 10/08/2022:configure+mnh_expand: add tar files:filepp-1.8.0.tar.gz/MNH_EXPAND_1-2-0.tar.gz to install mnh_expand automatically during main MesoNH ./configure
parent a892d3ba
No related branches found
No related tags found
No related merge requests found
File added
#
# source file get form here
#
wget https://github.com/JuanEscobarMunoz/MNH_Expand_Array/archive/refs/tags/MNH_EXPAND_1-2-0.tar.gz
wget https://www-users.york.ac.uk/~dm26/filepp/filepp-1.8.0.tar.gz
#
# For installation , look MesoNH main configure script
# Looking for VER_MNHEXP variable
#
File added
...@@ -32,6 +32,13 @@ export VERSION_NCL=${VERSION_NCL:-"ncl-6.4.0"} ...@@ -32,6 +32,13 @@ export VERSION_NCL=${VERSION_NCL:-"ncl-6.4.0"}
export VERSION_ECRAD=${VERSION_ECRAD:-"1.4.0"} export VERSION_ECRAD=${VERSION_ECRAD:-"1.4.0"}
export VER_ECRAD=${VERSION_ECRAD//./} export VER_ECRAD=${VERSION_ECRAD//./}
#
# Install MNH_EXPAND if VER_MNHEXP=MNHEXPAUTO
#
export VER_MNHEXP=${VER_MNHEXP:-"MNHEXPAUTO"}
export VERSION_MNHEXP=${VERSION_MNHEXP:-"MNH_EXPAND_1-2-0"}
export VERSION_FILEPP=${VERSION_FILEPP:-"1.8.0"}
export LEN_HREC=${LEN_HREC:-16} export LEN_HREC=${LEN_HREC:-16}
# #
...@@ -498,7 +505,22 @@ if [ "x${NEED_TOOLS}" == "xYES" ] ; then ...@@ -498,7 +505,22 @@ if [ "x${NEED_TOOLS}" == "xYES" ] ; then
;; ;;
esac esac
fi fi
#
# Install MNH_EXPAND if VER_MNHEXP=MNHEXPAUTO
#
if [ "x${VER_MNHEXP}" == "xMNHEXPAUTO" ] ;then
(
cd $LOCAL/pub/FILEPP
if [ ! -d MNH_Expand_Array-${VERSION_MNHEXP} ] ; then
tar xvf ${VERSION_MNHEXP}.tar.gz
tar xvf filepp-${VERSION_FILEPP}.tar.gz
cd filepp-${VERSION_FILEPP}
FILEPP=$LOCAL/pub/FILEPP
./configure --prefix=${FILEPP}/FILEPP-${VERSION_FILEPP}
make install
fi
)
fi
# #
# Generate profile_mesonh # Generate profile_mesonh
# #
...@@ -570,6 +592,7 @@ fi ...@@ -570,6 +592,7 @@ fi
if [ "x${MNH_ECRAD}" == "x1" ] && [ "x${VERSION_ECRAD}" == "x1.4.0" ] ; then if [ "x${MNH_ECRAD}" == "x1" ] && [ "x${VERSION_ECRAD}" == "x1.4.0" ] ; then
( cd $LOCAL/src/LIB/RAD ; [ ! -d ecrad-1.4.0 ] && tar xvfz ecrad-1.4.0.tar.gz ) ( cd $LOCAL/src/LIB/RAD ; [ ! -d ecrad-1.4.0 ] && tar xvfz ecrad-1.4.0.tar.gz )
fi fi
########################################################## ##########################################################
# # # #
# RESUME # # RESUME #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment