Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argupta
openfpm_pdata
Commits
921fe536
Commit
921fe536
authored
8 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Adding build script for intel compiler
parent
58b99919
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_sec_compilers.sh
+47
-0
47 additions, 0 deletions
build_sec_compilers.sh
with
47 additions
and
0 deletions
build_sec_compilers.sh
0 → 100755
+
47
−
0
View file @
921fe536
#! /bin/bash
# Make a directory in /tmp/OpenFPM_pdata
echo
"Directory:
$1
"
echo
"Machine:
$2
"
mkdir
src/config
git submodule init
if
[
$?
-ne
0
]
;
then
echo
-e
"Configure
\0
33[91;5;1m FAILED
\0
33[0m"
exit
1
fi
git submodule update
if
[
$?
-ne
0
]
;
then
echo
-e
"Configure
\0
33[91;5;1m FAILED
\0
33[0m"
exit
1
fi
mkdir
openfpm_numerics/src/config
if
[
"
$2
"
==
"gin"
]
then
echo
"Compiling on gin
\n
"
source
~/.bashrc
source
/opt/intel/composerxe/bin/compilervars.sh intel64
module load gcc/5.3.0
./install
-s
-c
"--prefix=/home/jenkins/openfpm_install"
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$2
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
source
$HOME
/openfpm_vars
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$2
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment