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
75f1a4f3
Commit
75f1a4f3
authored
7 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
use filelink.o consistently, since filelink does not work with some compilers, e.g. nvcc
parent
ffc74fca
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/src/Section_packages.txt
+1
-1
1 addition, 1 deletion
doc/src/Section_packages.txt
lib/latte/README
+8
-7
8 additions, 7 deletions
lib/latte/README
src/LATTE/README
+1
-1
1 addition, 1 deletion
src/LATTE/README
with
10 additions
and
9 deletions
doc/src/Section_packages.txt
+
1
−
1
View file @
75f1a4f3
...
...
@@ -732,7 +732,7 @@ make lib-latte args="-b -m gfortran" # download and build in lib/latte and
:pre
Note that 3 symbolic (soft) links, "includelink" and "liblink" and
"filelink", are created in lib/latte to point into the LATTE home dir.
"filelink
.o
", are created in lib/latte to point into the LATTE home dir.
When LAMMPS builds in src it will use these links. You should
also check that the Makefile.lammps file you create is apporpriate
for the compiler you use on your system to build LATTE.
...
...
This diff is collapsed.
Click to expand it.
lib/latte/README
+
8
−
7
View file @
75f1a4f3
...
...
@@ -28,14 +28,15 @@ Instructions:
and finally, build the code via the make command
% make
3. Create three s
oft
links in this dir (lib/latte)
3. Create three s
ymbolic
links in this dir (lib/latte)
E.g if you built LATTE in this dir:
% ln -s ./LATTE-master/src includelink
% ln -s ./LATTE-master liblink
% ln -s ./LATTE-master/src/latte_c_bind.o filelink
% ln -s ./LATTE-master/src/latte_c_bind.o filelink
.o
4. Choose a Makefile.lammps.* file appropriate for your compiler
(GNU gfortran or Intel ifort) and copy it to Makefile.lammps.
(GNU gfortran with external BLAS, GNU gfortran with local liblinalg,
or Intel ifort with MKL) and copy it to Makefile.lammps.
Note that you may need to edit Makefile.lammps for paths
and compiler options appropriate to your system.
...
...
@@ -49,7 +50,7 @@ with the LATTE package installed:
% make g++ (or whatever target you wish)
Note that if you download and unpack a new LAMMPS tarball, the
"includelink" and "liblink" and "filelink
" files will be lost and you
will need to re-create them (step 3). If you built LATTE
in this
directory (as opposed to somewhere else on your system), you
will also
need to repeat steps 1,2,4.
"includelink" and "liblink" and "filelink
.o" symbolic links will be
lost and you
will need to re-create them (step 3). If you built LATTE
in this
directory (as opposed to somewhere else on your system), you
will also
need to repeat steps 1,2,4.
This diff is collapsed.
Click to expand it.
src/LATTE/README
+
1
−
1
View file @
75f1a4f3
...
...
@@ -17,7 +17,7 @@ Once you have successfully built LAMMPS with this package and the
LATTE library you can test it using an input file from the examples
latte dir, e.g.
lmp_serial
<
lammps/examples/latte/in.latte.water
lmp_serial
-in
lammps/examples/latte/in.latte.water
This pair style was written in collaboration with the LATTE
developers.
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