-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: claw-compiler #72
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the old script there was a lot of special java module and path, is this not needed anymore ?
package_builder/build_claw.sh
Outdated
echo "==============================" | ||
echo "Build claw-compiler dependency: apache-ant" | ||
if [ ! -d ${package_basedir}/hpc-scripts ] ; then | ||
git clone [email protected]:clementval/hpc-scripts.git ${package_basedir}/hpc-scripts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably should copy this under meteowiss, I ll add a todo (no change needed for this PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #73
I just tried on kesch: I am getting an error:
|
also there maybe a missing mkdir, I get another error: |
alos in the omni complier part, I see
not sure if it is an issue |
package_builder/build_claw.sh
Outdated
export claw_compiler_install=$install_path_prefix_ | ||
|
||
if [[ ! -f $claw_compiler_install/bin/clawfc || $REBUILD == YES ]]; then | ||
if [ $REBUILD == YES ] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get the error because REBUILD is not define, so you should give it a default in the head of your script or always check for existence
package_builder/build_claw.sh
Outdated
echo `pwd` | ||
echo "Rebuilding claw-compiler" | ||
echo "rm -r build" | ||
rm -r build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-rf otherwise you get an error msg if build does not exist
Add the build_claw.sh script to the buildenv.
Add the --package claw option to the build_apkg.sh file.
Usage:
cd buildenv/
./package_builder/build_apkg.sh --package claw -c $compiler -i <install_directory> -d <package_install_directory>
Tests:
kesch pgi: OK
kesch cray: OK
kesch gnu: OK
arolla pgi: OK
arolla gnu: OK
arolla cray: Not OK?
tsa pgi: OK
tsa gnu: OK