Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
B
buildblocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Pmodules
buildblocks
Commits
2c723272
Commit
2c723272
authored
Nov 05, 2019
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openmpi: bugfixs in build script
parent
f88f30cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
Compiler/openmpi/build
Compiler/openmpi/build
+9
-10
No files found.
Compiler/openmpi/build
View file @
2c723272
...
...
@@ -24,7 +24,9 @@ pbuild::pre_configure() {
pbuild
::
add_configure_args
"--enable-static"
pbuild
::
add_configure_args
"--with-sge=yes"
pbuild
::
add_configure_args
"--with-slurm=yes"
if
((
V_MAJOR
<
4
));
then
local
version
((
version
=
(
$
{
V_MAJOR
}
*
100
+
$
{
V_MINOR
})
*
100
+
V_PATCHLVL
))
if
((
version
<
30104
))
;
then
pbuild
::
add_configure_args
"--enable-mpi-f90"
pbuild
::
add_configure_args
"--enable-mpi-profile"
pbuild
::
add_configure_args
"--enable-smp-locks"
...
...
@@ -34,13 +36,10 @@ pbuild::pre_configure() {
}
pbuild
::
post_install
()
{
if
[[
-
r
/
usr
/
lib64
/
libnuma
.
so
]];
then
cp
-
av
/
usr
/
lib64
/
libnuma
.
so
.
*
"${PREFIX}/lib/fallback"
fi
if
[[
-
r
/
usr
/
lib64
/
libibverbs
.
so
]];
then
cp
-
av
/
usr
/
lib64
/
libibverbs
.
so
.
*
"${PREFIX}/lib/fallback"
fi
if
[[
-
r
/
usr
/
lib64
/
librdmacm
.
so
]];
then
cp
-
av
/
usr
/
lib64
/
librdmacm
.
so
.
*
"${PREFIX}/lib/fallback"
fi
mkdir
-
p
"${PREFIX}/lib/fallback"
local
-
r
binary
=
$
(
ls
"${PREFIX}"
/
lib
/
libmpi
.
so
.
*
.
*
.
*
)
pbuild
::
install_shared_libs
"${binary}"
"${PREFIX}/lib/fallback"
'/usr/.*/libuc[mpst].so'
pbuild
::
install_shared_libs
"${binary}"
"${PREFIX}/lib/fallback"
'/usr/.*/libnuma.so'
pbuild
::
install_shared_libs
"${binary}"
"${PREFIX}/lib/fallback"
'/usr/.*/libbverbs.so'
pbuild
::
install_shared_libs
"${binary}"
"${PREFIX}/lib/fallback"
'/usr/.*/librdmacm.so'
}
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