Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
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
Container Registry
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
multiscale
lammps
Commits
1f770a6a
Commit
1f770a6a
authored
6 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
print information about serial/parallel and MPI version for known libraries
parent
596acaf4
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
src/lammps.cpp
+17
-3
17 additions, 3 deletions
src/lammps.cpp
with
17 additions
and
3 deletions
src/lammps.cpp
+
17
−
3
View file @
1f770a6a
...
...
@@ -978,9 +978,25 @@ void print_style(FILE *fp, const char *str, int &pos)
}
}
#define lmp_str(s) #s
#define lmp_xstr(s) lmp_str(s)
static
const
char
lammps_config_options
[]
=
"LAMMPS compile time settings:
\n\n
"
"Integer sizes setting: "
"MPI library setting: "
#if defined(MPI_STUBS)
"Serial version using STUBS"
#elif defined(MPICH_VERSION)
"Parallel version using MPICH "
MPICH_VERSION
#elif defined(OPEN_MPI)
"Parallel version using OpenMPI "
lmp_xstr
(
OMPI_MAJOR_VERSION
)
"."
lmp_xstr
(
OMPI_MINOR_VERSION
)
"."
lmp_xstr
(
OMPI_RELEASE_VERSION
)
#else
"Parallel version using unknown MPI library"
#endif
"
\n
Integer sizes setting: "
#if defined(LAMMPS_SMALLSMALL)
" -DLAMMPS_SMALLSMALL"
#elif defined(LAMMPS_SMALLBIG)
...
...
@@ -1019,8 +1035,6 @@ static const char lammps_config_options[]
#endif
"
\n
Memory alignment: "
#if defined(LAMMPS_MEMALIGN)
#define lmp_str(s) #s
#define lmp_xstr(s) lmp_str(s)
" -DLAMMPS_MEMALIGN="
lmp_xstr
(
LAMMPS_MEMALIGN
)
#else
" (default)"
...
...
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