Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
76417828
Commit
76417828
authored
Sep 24, 2015
by
incardon
Browse files
Fixed creation of example.mk
parent
40129f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
install
View file @
76417828
...
...
@@ -169,8 +169,7 @@ else
./script/install_MPI.sh
$i_dir
$compiler_opt
MPI_installed
=
1
export
PATH
=
"
$PATH
:
$i_dir
/MPI/bin"
echo
$PATH
configure_options
=
"
$configure_options
CXX=mpic++ "
elif
[
$conf_err
-eq
201
]
;
then
echo
"Metis not found try to install"
if
[
$METIS_installed
-eq
1
]
;
then
...
...
@@ -196,13 +195,6 @@ else
done
fi
make clean
make
if
[
$?
-ne
0
]
;
then
conf_err
=
1
fi
### Create example.mk
install_base
=
$(
cat
install_dir
)
echo
"INCLUDE_PATH=-I. -I
$install_base
/openfpm_pdata/include/config -I
$install_base
/openfpm_pdata/include -I
$install_base
/openfpm_data/include -I
$install_base
/openfpm_vcluster/include -I
$install_base
/openfpm_io/include -I
$install_base
/openfpm_devices/include -I
$i_dir
/METIS/include"
>
example.mk
...
...
@@ -211,6 +203,13 @@ echo "LIBS=-lvcluster -lofpmmemory -lmetis -lboost_iostreams" >> example.mk
cp
example.mk src/example.mk
cp
example.mk example/example.mk
make clean
make
if
[
$?
-ne
0
]
;
then
conf_err
=
1
fi
echo
""
echo
""
if
[
$conf_err
-eq
0
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment