Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
1fdaace8
Commit
1fdaace8
authored
Nov 18, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding configure and install MPI script
parent
31be4d59
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
609 additions
and
8 deletions
+609
-8
configure
configure
+569
-0
install_MPI.sh
install_MPI.sh
+40
-8
No files found.
configure
0 → 100755
View file @
1fdaace8
This diff is collapsed.
Click to expand it.
install_MPI.sh
View file @
1fdaace8
#!/bin/bash
mkdir
${
HOME
}
/MPI
wget http://www.open-mpi.de/software/ompi/v1.8/downloads/openmpi-1.8.7.tar.bz2
tar
-xvf
openmpi-1.8.7.tar.bz2
cd
openmpi-1.8.7
sh ./configure
--prefix
=
${
HOME
}
/MPI
--enable-opal-multi-threads
--enable-mpi-f90
make
#!/bin/bash
# check if the directory $1/MPI exist
if
[
-d
"
$1
/MPI"
]
;
then
echo
"MPI already installed"
exit
0
fi
rm
-rf
openmpi-3.1.1
rm
openmpi-3.1.1.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/openmpi-3.1.1.tar.gz
tar
-xvf
openmpi-3.1.1.tar.gz
cd
openmpi-3.1.1
#
# --disable-mca-dso \
# --disable-sysv-shmem \
# --enable-cxx-exceptions \
# --with-threads=posix \
# --without-cs-fs \
# --with-mpi-param_check=always \
# --enable-contrib-no-build=vt,libompitrace \
#
#--enable-mca-no-build=paffinity,installdirs-windows,timer-windows,shmem-sysv
#
#
if
[
x
"
$6
"
==
x
"1"
]
;
then
echo
"Installing MPI with GPU support"
./configure
--with-cuda
--prefix
=
$1
/MPI
--enable-mpi-fortran
=
yes
CC
=
$3
CXX
=
$4
F77
=
$5
FC
=
$5
else
echo
"Installing MPI without GPU support"
./configure
--prefix
=
$1
/MPI
--enable-mpi-fortran
=
yes
CC
=
$3
CXX
=
$4
F77
=
$5
FC
=
$5
fi
make
-j
$2
make
install
# Mark the installation
echo
3
>
$1
/MPI/version
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