Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gekkofs
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
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
hpc
gekkofs
Commits
30a1241b
Verified
Commit
30a1241b
authored
3 years ago
by
Frederic Schimmelpfennig
Committed by
Marc Vef
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added target mogongpu for usage with gcc 10.2 and mogon module libfabric 1.11.0
parent
80912e5f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/compile_dep.sh
+15
-2
15 additions, 2 deletions
scripts/compile_dep.sh
scripts/dl_dep.sh
+14
-1
14 additions, 1 deletion
scripts/dl_dep.sh
with
29 additions
and
3 deletions
scripts/compile_dep.sh
+
15
−
2
View file @
30a1241b
...
...
@@ -36,7 +36,12 @@ SOURCE=""
INSTALL
=
""
DEP_CONFIG
=
""
VALID_DEP_OPTIONS
=
"mogon2 mogon1 ngio direct all ci"
VALID_DEP_OPTIONS
=
"mogongpu mogon2 mogon1 ngio direct all ci"
MOGONGPU_DEPS
=(
"zstd"
"lz4"
"snappy"
"capstone"
"mercury"
"argobots"
"margo"
"rocksdb"
"syscall_intercept"
"date"
"verbs"
)
MOGON1_DEPS
=(
"zstd"
"lz4"
"snappy"
"capstone"
"ofi"
"mercury"
"argobots"
"margo"
"rocksdb"
...
...
@@ -110,6 +115,10 @@ list_dependencies() {
echo
"Available dependencies: "
echo
-n
" Mogon GPU: "
for
d
in
"
${
MOGONGPU_DEPS
[@]
}
"
;
do
echo
-n
"
$d
"
done
echo
-n
" Mogon 1: "
for
d
in
"
${
MOGON1_DEPS
[@]
}
"
;
do
echo
-n
"
$d
"
...
...
@@ -274,6 +283,10 @@ else
fi
# enable predefined dependency template
case
${
TMP_DEP_CONF
}
in
mogongpu
)
DEP_CONFIG
=(
"
${
MOGONGPU_DEPS
[@]
}
"
)
echo
"'Mogon GPU' dependencies are compiled"
;;
mogon1
)
DEP_CONFIG
=(
"
${
MOGON1_DEPS
[@]
}
"
)
echo
"'Mogon1' dependencies are compiled"
...
...
@@ -517,7 +530,7 @@ if check_dependency "syscall_intercept" "${DEP_CONFIG[@]}"; then
CURR
=
${
SOURCE
}
/syscall_intercept
prepare_build_dir
"
${
CURR
}
"
cd
"
${
CURR
}
"
/build
$CMAKE
-DCMAKE_PREFIX_PATH
=
"
${
INSTALL
}
"
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
"
-DCMAKE_BUILD_TYPE
:STRING
=
Debug
-DBUILD_EXAMPLES
:BOOL
=
O
FF
-DBUILD_TESTS
:BOOK
=
OFF ..
$CMAKE
-DCMAKE_CXX_FLAGS
=
"-fcommon "
-DCMAKE_C_FLAGS
=
"-fcommon "
-DCMAKE_PREFIX_PATH
=
"
${
INSTALL
}
"
-DCMAKE_INSTALL_PREFIX
=
"
${
INSTALL
}
"
-DCMAKE_BUILD_TYPE
:STRING
=
Debug
-DBUILD_EXAMPLES
:BOOL
=
O
N
-DBUILD_TESTS
:BOOK
=
OFF ..
make
install
fi
...
...
This diff is collapsed.
Click to expand it.
scripts/dl_dep.sh
+
14
−
1
View file @
30a1241b
...
...
@@ -36,7 +36,12 @@ NA_LAYER=""
DEP_CONFIG
=
""
VERBOSE
=
false
VALID_DEP_OPTIONS
=
"mogon2 mogon1 ngio direct all ci"
VALID_DEP_OPTIONS
=
"mogongpu mogon2 mogon1 ngio direct all ci"
MOGONGPU_DEPS
=(
"zstd"
"lz4"
"snappy"
"capstone"
"mercury"
"argobots"
"margo"
"rocksdb"
"syscall_intercept"
"date"
)
MOGON1_DEPS
=(
"zstd"
"lz4"
"snappy"
"capstone"
"ofi-experimental"
"mercury"
"argobots"
"margo"
"rocksdb"
...
...
@@ -89,6 +94,10 @@ list_dependencies() {
echo
"Available dependencies: "
echo
-n
" Mogon GPU: "
for
d
in
"
${
MOGONGPU_DEPS
[@]
}
"
;
do
echo
-n
"
$d
"
done
echo
-n
" Mogon 1: "
for
d
in
"
${
MOGON1_DEPS
[@]
}
"
;
do
echo
-n
"
$d
"
...
...
@@ -305,6 +314,10 @@ fi
# enable predefined dependency template
case
${
TMP_DEP_CONF
}
in
mogongpu
)
DEP_CONFIG
=(
"
${
MOGONGPU_DEPS
[@]
}
"
)
[[
-z
"
${
DEPENDENCY
}
"
]]
&&
echo
"'Mogon1' dependencies are downloaded"
;;
mogon1
)
DEP_CONFIG
=(
"
${
MOGON1_DEPS
[@]
}
"
)
[[
-z
"
${
DEPENDENCY
}
"
]]
&&
echo
"'Mogon1' dependencies are downloaded"
...
...
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