Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
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
Service Desk
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
MPSD Computational Science
mpsd-software-manager
Commits
6d446370
Commit
6d446370
authored
1 year ago
by
Ashwin Kumar Karnad
Committed by
Hans Fangohr
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Improvements from Ashwin - thanks!
parent
23f9553b
No related branches found
Branches containing commit
No related tags found
1 merge request
!84
Add the location of the octopus configure script in lmod file
Pipeline
#374167
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+8
-6
8 additions, 6 deletions
README.rst
with
8 additions
and
6 deletions
README.rst
+
8
−
6
View file @
6d446370
...
...
@@ -177,23 +177,25 @@ Requirements for particular toolchains and package sets
- ``foss*-mpi`` currently needs linux header files installed (to compile the ``knem`` package)
- ``foss*-cuda-mpi`` (proably as `*-mpi, needs testing TODO`)
Finding the Octopus configure
script
Finding the Octopus configure
wrapper
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For each Octopus toolchain, there is a Octopus configure script available. Once the
For each Octopus toolchain, there is a Octopus configure wrapper available.
The wrapper essentially calls the configure script with the right parameters,
and library locations for the current toolchain. Once the
toolchain is loaded, the variable ``$MPSD_OCTOPUS_CONFIGURE`` contains that
path. The path can also be seen using the ``module show TOOLCHAINNAME`` command. For example::
path. The path can also be seen using the ``module show TOOLCHAIN
_
NAME`` command. For example::
$ mpsd-software install dev-23a foss2022a-mpi
$ module use
/home/fangohr
/mpsd-software-manager/dev-23a/cascadelake/lmod/Core
$ module use
~
/mpsd-software-manager/dev-23a/cascadelake/lmod/Core
$ module show toolchains/foss2022a-mpi
...
depends_on("cgal/5.0.3")
depends_on("hdf5/1.12.2")
setenv("MPSD_OCTOPUS_CONFIGURE","
/home/fangohr
/mpsd-software/dev-23a/spack-environments/octopus/foss2022a-mpi-config.sh")
setenv("MPSD_OCTOPUS_CONFIGURE","
~
/mpsd-software/dev-23a/spack-environments/octopus/foss2022a-mpi-config.sh")
$ module load toolchains/foss2022a-mpi
$ echo $MPSD_OCTOPUS_CONFIGURE
/home/fangohr
/mpsd-software/dev-23a/spack-environments/octopus/foss2022a-mpi-config.sh
~
/mpsd-software/dev-23a/spack-environments/octopus/foss2022a-mpi-config.sh
Working example
...
...
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