Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
6326435b
Commit
6326435b
authored
9 years ago
by
Yaser Afshar
Browse files
Options
Downloads
Patches
Plain Diff
Fixing installscript
parent
f5cba173
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
install
+11
-3
11 additions, 3 deletions
install
openfpm_data
+0
-1
0 additions, 1 deletion
openfpm_data
script/discover_os
+3
-0
3 additions, 0 deletions
script/discover_os
script/discover_package_manager
+1
-1
1 addition, 1 deletion
script/discover_package_manager
with
15 additions
and
5 deletions
install
+
11
−
3
View file @
6326435b
...
...
@@ -45,7 +45,15 @@ script/pre_req
## clone the dependencies
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
# Create config directory
...
...
@@ -118,7 +126,7 @@ else
fi
./script/install_MPI.sh
$i_dir
MPI_installed
=
1
export
PATH
=
"
$PATH
:
$
{
HOME
}
/MPI/bin"
export
PATH
=
"
$PATH
:
$
i_dir
/MPI/bin"
echo
$PATH
configure_options
=
"
$configure_options
CXX=mpic++ "
elif
[
$conf_err
-eq
201
]
;
then
...
...
@@ -129,7 +137,7 @@ else
fi
./script/install_Metis.sh
$i_dir
METIS_installed
=
1
configure_options
=
"
$configure_options
--with-metis=
$
{
HOME
}
/METIS "
configure_options
=
"
$configure_options
--with-metis=
$
i_dir
/METIS "
elif
[
$conf_err
-eq
202
]
;
then
echo
"Boost not found try to install"
if
[
$BOOST_installed
-eq
1
]
;
then
...
...
@@ -138,7 +146,7 @@ else
fi
./script/install_BOOST.sh
$i_dir
BOOST_installed
=
1
configure_options
=
"
$configure_options
--with-boost=
$
{
HOME
}
/BOOST "
configure_options
=
"
$configure_options
--with-boost=
$
i_dir
/BOOST "
elif
[
$conf_err
-ne
0
]
;
then
echo
"I do not know how to recover from this error"
exit
1
...
...
This diff is collapsed.
Click to expand it.
openfpm_data
@
a0d95989
Subproject commit a0d9598916ff2ec529876c97da99bd4b6983b651
This diff is collapsed.
Click to expand it.
script/discover_os
+
3
−
0
View file @
6326435b
...
...
@@ -7,6 +7,9 @@ platform=unknown
if
[[
"
$OSTYPE
"
==
"linux-gnu"
]]
;
then
echo
-e
"We are on
\0
33[1;34m LINUX
\0
33[0m"
platform
=
linux
elif
[[
"
$OSTYPE
"
==
"linux"
]]
;
then
echo
-e
"We are on
\0
33[1;34m LINUX
\0
33[0m"
platform
=
linux
elif
[[
"
$OSTYPE
"
==
"darwin"
*
]]
;
then
echo
-e
"We are on
\0
33[1;34m MAC OSX
\0
33[0m"
platform
=
osx
...
...
This diff is collapsed.
Click to expand it.
script/discover_package_manager
+
1
−
1
View file @
6326435b
...
...
@@ -30,7 +30,7 @@ function discover_package_manager() {
return
fi
command
-v
zypper
>
/dev/null
if
[
command
-v
zypper
>
/dev/null
-eq
0
]
;
then
if
[
$?
-eq
0
]
;
then
discover_package_manager_ret
=
"zypper"
return
else
...
...
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