Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MUSIC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mikael Djurfeldt
MUSIC
Commits
b76cd24b
Commit
b76cd24b
authored
5 years ago
by
Mikael Djurfeldt
Browse files
Options
Downloads
Patches
Plain Diff
Document new launch style
parent
e4adae9e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+23
-2
23 additions, 2 deletions
README
with
23 additions
and
2 deletions
README
+
23
−
2
View file @
b76cd24b
...
...
@@ -49,13 +49,16 @@ LD_LIBRARY_PATH:
for the music utility to find its library.)
A MUSIC
multi
simulation is specified in a configuration file given as
A MUSIC
co-
simulation is specified in a configuration file given as
the first argument to the music utility. The test subdirectory
contains a collection of examples, for example:
cd test
mpirun -np 4 /usr/local/bin/music demo.music
On some systems, this way of invoking a MUSIC co-simulation isn't
supported. Se blow for an alternative method.
* Compilation and linking flags
...
...
@@ -76,7 +79,7 @@ MPI_LDFLAGS Linking flags
* Porting
When launching a set of applications in a
multi
simulation, MUSIC needs
When launching a set of applications in a
co-
simulation, MUSIC needs
to go outside the MPI standard in two respects:
1. It needs to know the MPI process rank of the running process before
...
...
@@ -94,6 +97,24 @@ mpidep/mpidep.c. For more details, see the file PORTING in this
directory.
* Alternative way to invoke MUSIC co-simulations
In case the method of launching MUSIC described under "Getting
started" above fails, there is an alternative method:
Let's assume that we want to launch application A with binary a and Na
processes, and application B with binary b and Nb processes. These are
listed in a standard MUSIC config file ab.music with block labels A
and B. The standard way to launch these would be:
mpirun -np <Na+Nb> music ab.music
(where <Na+Nb> is a number). These can alternatively be launched in
MPMD style as:
mpirun -np Na ./a --music-config ab.music --app-label A : -np Nb ./b --music-config ab.music --app-label B
* Where to find more information
The MUSIC manual and other information can be found on the MUSIC wiki:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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