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
aaa32659
Commit
aaa32659
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Creating install script
parent
25a2c33a
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
install
+30
-11
30 additions, 11 deletions
install
with
30 additions
and
11 deletions
install
+
30
−
11
View file @
aaa32659
...
...
@@ -2,16 +2,16 @@
## Take all the options with the exception of --enable-install-req
install_req
=
0
install_req
=
1
configure_options
=
""
for
var
in
"
$@
"
do
echo
$var
if
[
test
x
"
$var
"
-ne
x
"--
en
able-install-req"
]
;
then
if
[
test
x
"
$var
"
-ne
x
"--
dis
able-install-req"
]
;
then
configure_options
=
"
$configure_options
$var
"
else
install_req
=
1
install_req
=
0
fi
done
...
...
@@ -58,10 +58,14 @@ else
done
fi
make
echo
""
echo
""
if
[
$conf_err
-eq
0
]
;
then
echo
-e
"Configure
\0
33[92;5m SUCCEED
\0
33[0m"
echo
-e
"Configure
\0
33[92;5
;1
m SUCCEED
\0
33[0m"
else
echo
-e
"Configure
\0
33[91;5m FAILED
\0
33[0m"
echo
-e
"Configure
\0
33[91;5
;1
m FAILED
\0
33[0m"
fi
echo
"Command used to configure"
...
...
@@ -69,14 +73,29 @@ echo ""
echo
-e
"
\0
33[1m ./configure
$configure_options
\0
33[0m "
echo
""
if
[
$MPI_installed
-eq
1
]
;
then
echo
-e
"MPI has been installed into:
\0
33[5m
$HOME
/MPI
\0
33[0m"
echo
-e
"Add the following to export PATH=
\"
$PATH
:
$HOME
/MPI
\"
"
echo
-e
" LD_LIBRARY_PATH=
echo
-e
"
\0
33[1;34;5m ---------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ----------------- MPI -----------------
\0
33[0m"
echo
-e
" MPI has been installed into:
\0
33[1m
$HOME
/MPI
\0
33[0m"
echo
""
echo
-e
"
\0
33[1;34m On Linux:
\0
33[0m"
echo
-e
"
\0
33[1m export PATH=
\"\$
PATH:
\$
HOME/MPI
\"
\0
33[0m "
echo
-e
"
\0
33[1m export LD_LIBRARY_PATH=
\"\$
LD_LIBRARY_PATH:
\$
HOME/MPI/lib
\"
\0
33[0m "
echo
-e
"
\0
33[1;34m On OSX:
\0
33[0m"
echo
-e
"
\0
33[1m export PATH=
\"\$
PATH:
\$
HOME/MPI
\"
\0
33[0m "
echo
-e
"
\0
33[1m export DYLD_LIBRARY_PATH=
\"\$
DYLD_LIBRARY_PATH:
\$
HOME/MPI/lib
\"
\0
33[0m"
fi
if
[
$METIS_installed
-eq
1
]
;
then
echo -e "
Metis has been installed into:
\0
33[5m
$HOME
/METIS
\0
33[0m
"
echo
""
echo
-e
"
\0
33[1;34;5m ---------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ---------------- METIS ----------------
\0
33[0m"
echo
-e
" METIS has been installed into:
\0
33[1m
$HOME
/METIS
\0
33[0m"
echo
""
echo
-e
"
\0
33[1;34m On Linux:
\0
33[0m"
echo
-e
"
\0
33[1m export LD_LIBRARY_PATH=
\"\$
LD_LIBRARY_PATH:
\$
HOME/METIS/lib
\"
\0
33[0m "
echo
-e
"
\0
33[1;34m On OSX:
\0
33[0m"
echo
-e
"
\0
33[1m export DYLD_LIBRARY_PATH=
\"\$
DYLD_LIBRARY_PATH:
\$
HOME/METIS/lib
\"
\0
33[0m"
fi
echo
""
echo
""
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