monanadmin / scripts_cd-ct Goto Github PK
View Code? Open in Web Editor NEWScripts for MONAN continuous developments and continuous tests.
Scripts for MONAN continuous developments and continuous tests.
@deniseiras @carlosrenatosouza2 @egkhamis
When used "release/0.5.0" like second parameter in the first script, example:
$ ./1.install_monan.bash https://github.com/monanadmin/MONAN-Model.git release/0.5.0
The script created "sources/MONAN_release" without number of release.
Testing possible solution with 'sed' in the 1.install_monan.bash script.
Before:
MONANDIR=${SOURCES}/MONAN-Model_${tag_or_branch_name_MONAN}
CONVERT_MPAS_DIR=${SOURCES}/convert_mpas_${tag_or_branch_name_CONVERT_MPAS}
After:
MONANDIR=${SOURCES}/MONAN-Model_$(echo ${tag_or_branch_name_MONAN} | sed -e "s/\//_/g")
CONVERT_MPAS_DIR=${SOURCES}/convert_mpas_$(echo ${tag_or_branch_name_CONVERT_MPAS} | sed -e "s/\//_/g")
@deniseiras e @carlosrenatosouza2 a 'main' do CD-CT esta com bug, estou usando a 'develop'.
$ ./1.install_monan.bash https://github.com/joaomas/MONAN-Model-JMAS.git
==> Moduling environment for MONAN model...
Currently Loaded Modules:
==> Cloning your fork repository...
fatal: could not create work tree dir '/mnt/beegfs/carlos.souza/repo_Monan/scripts_CD-CT/sources/MONAN-Model_v0.1.0': Permission denied
==> An error occurred while cloning your fork. Possible causes: wrong URL, user or password.
No Readme esta solicitando fazer o fork do repositório "monan" e não "MONAN-Model"
"First you need to get a fork repository in your github account of a MONAN oficial repo: https://github.com/monanadmin/monan.git"
[1] Command tar begin when wget still is executng.... and other issues.. contact to @egkhamis
[2] The file x1.${RES}.graph.info ${cores} is missing in tar file.. contact to @egkhamis
if [ ! -s ${DATAIN}/fixed/x1.${RES}.graph.info.part.${cores} ]
then
if [ ! -s ${DATAIN}/fixed/x1.${RES}.graph.info ]
then
cd ${DATAIN}/fixed
echo -e "${GREEN}==>${NC} downloading meshes tgz files ... \n"
wget https://www2.mmm.ucar.edu/projects/mpas/atmosphere_meshes/x1.${RES}.tar.gz
wget https://www2.mmm.ucar.edu/projects/mpas/atmosphere_meshes/x1.${RES}_static.tar.gz
tar -xzvf x1.${RES}.tar.gz
tar -xzvf x1.${RES}_static.tar.gz
fi
echo -e "${GREEN}==>${NC} Creating x1.${RES}.graph.info.part.${cores} ... \n"
cd ${DATAIN}/fixed
gpmetis -minconn -contig -niter=200 x1.${RES}.graph.info ${cores}
rm -fr x1.${RES}.tar.gz x1.${RES}_static.tar.gz
fi
In script 1.install.. the executable file is not removed. This behavior may mask a problem in the compilation process.
@ebiduardo please, complement the issue, thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.