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
552f64b7
Commit
552f64b7
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing with the lastest modules
parent
14c95abd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
install
+8
-0
8 additions, 0 deletions
install
openfpm_data
+1
-1
1 addition, 1 deletion
openfpm_data
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
script/install_Metis.sh
+6
-0
6 additions, 0 deletions
script/install_Metis.sh
script/remove_old
+13
-10
13 additions, 10 deletions
script/remove_old
with
29 additions
and
12 deletions
install
+
8
−
0
View file @
552f64b7
...
...
@@ -351,6 +351,14 @@ if [ $HDF5_installed -eq 1 ]; then
echo
-e
" HDF5 has been installed into:
\0
33[1m
$i_dir
/HDF5
\0
33[0m"
echo
""
fi
if
[
$PARMETIS_installed
-eq
1
]
;
then
echo
""
echo
-e
"
\0
33[1;34;5m ---------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ------------- PARMETIS ----------------
\0
33[0m"
echo
-e
" PARMETIS has been installed into:
\0
33[1m
$i_dir
/PARMETIS
\0
33[0m"
echo
""
fi
echo
""
echo
""
if
[
$conf_err
-ne
0
]
;
then
...
...
This diff is collapsed.
Click to expand it.
openfpm_data
@
9b090c6d
Subproject commit
163437f74dca3d5020493a44d71c818883666d4e
Subproject commit
9b090c6debddf9db4ab33b6afb892c75d500b389
This diff is collapsed.
Click to expand it.
openfpm_numerics
@
eabc19bf
Subproject commit
93344ebd902aab72a16144468a637a9a1fe90701
Subproject commit
eabc19bf631717b35aaef25096cac8c270b0d310
This diff is collapsed.
Click to expand it.
script/install_Metis.sh
+
6
−
0
View file @
552f64b7
...
...
@@ -7,6 +7,9 @@ if [ -d "$1/METIS" ]; then
exit
0
fi
## Remove old download
rm
-rf
metis-5.1.0
wget http://ppmcore.mpi-cbg.de/upload/metis-5.1.0.tar.gz
tar
-xf
metis-5.1.0.tar.gz
cd
metis-5.1.0
...
...
@@ -26,3 +29,6 @@ make -j 4
mkdir
$1
/METIS
make
install
# Mark the installation
echo
1
>
$1
/METIS/version
This diff is collapsed.
Click to expand it.
script/remove_old
+
13
−
10
View file @
552f64b7
...
...
@@ -74,26 +74,29 @@ function remove_old()
fi
## Check the installed version of the dependencies
cat
$1
/BOOST/include/boost/version.hpp
>
/dev/null
if
[
$?
-eq
0
]
;
then
if
[
-d
$1
/BOOST
]
;
then
is_update
=
$(
cat
$1
/BOOST/include/boost/version.hpp |
grep
"#define BOOST_VERSION 106000"
)
if
[
x
"
$is_update
"
==
x
""
]
;
then
echo
"
\0
33[1;34;5m New boost version, removing the old one
\0
33[0m"
sleep
3
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m Boost has been updated to 1.60, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m ---------------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/BOOST/include
rm
-rf
$1
/BOOST/lib
rm
-rf
$1
/BOOST
fi
fi
##
cat
$1
/METIS/version
if
[
$?
-eq
0
]
;
then
##
check if the METIS directory exist and the METIS version installed
if
[
-d
$1
/METIS
]
;
then
version
=
$(
cat
$1
/METIS/version
)
if
[
x
"
$version
"
!=
x
"1"
]
;
then
echo
-e
"
\0
33[1;34;5m New METIS version, removing the old one
\0
33[0m"
sleep
3
echo
-e
"
\0
33[1;34;5m -------------------------------------------------------------------
\0
33[0m"
echo
-e
"
\0
33[1;34;5m METIS has been updated, the component will be updated automatically
\0
33[0m"
echo
-e
"
\0
33[1;34;5m -------------------------------------------------------------------
\0
33[0m"
sleep
5
rm
-rf
$1
/METIS/include
rm
-rf
$1
/METIS/lib
rm
-rf
$1
/METIS
...
...
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