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
38ab9087
Commit
38ab9087
authored
14 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@5316
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
0dad5a85
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/MOLECULE/angle_cosine_delta.cpp
+1
-1
1 addition, 1 deletion
src/MOLECULE/angle_cosine_delta.cpp
src/Makefile
+19
-19
19 additions, 19 deletions
src/Makefile
src/OPT/Package.sh
+8
-8
8 additions, 8 deletions
src/OPT/Package.sh
with
28 additions
and
28 deletions
src/MOLECULE/angle_cosine_delta.cpp
+
1
−
1
View file @
38ab9087
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
------------------------------------------------------------------------- */
------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
/* ----------------------------------------------------------------------
Contributing author: Axel Kohlmeyer (
U Penn
), akohlmey at
cmm.chem.upenn.edu
Contributing author: Axel Kohlmeyer (
Temple U
), akohlmey at
gmail.com
------------------------------------------------------------------------- */
------------------------------------------------------------------------- */
#include
"math.h"
#include
"math.h"
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
19
−
19
View file @
38ab9087
...
@@ -22,11 +22,11 @@ PACKUSER = user-ackland user-atc user-cd-eam user-cg-cmm user-eff \
...
@@ -22,11 +22,11 @@ PACKUSER = user-ackland user-atc user-cd-eam user-cg-cmm user-eff \
PACKALL
=
$(
PACKAGE
)
$(
PACKUSER
)
PACKALL
=
$(
PACKAGE
)
$(
PACKUSER
)
PACKAGEUC
=
$(
shell
perl
-e
'printf("%s", uc("
$(
PACKAGE
)
"
)
);'
)
PACKAGEUC
=
$(
shell
echo
$(
PACKAGE
)
|
tr
a-z A-Z
)
PACKUSERUC
=
$(
shell
perl
-e
'printf("%s", uc("
$(
PACKUSER
)
"
)
);'
)
PACKUSERUC
=
$(
shell
echo
$(
PACKUSER
)
|
tr
a-z A-Z
)
YESDIR
=
$(
shell
perl
-e
'printf("%s", uc("
$(
@:yes-%=%
)
"
)
);'
)
YESDIR
=
$(
shell
echo
$(
@:yes-%
=
%
)
|
tr
a-z A-Z
)
NODIR
=
$(
shell
perl
-e
'printf("%s", uc("
$(
@:no-%=%
)
"
)
);'
)
NODIR
=
$(
shell
echo
$(
@:no-%
=
%
)
|
tr
a-z A-Z
)
# List of all targets
# List of all targets
...
@@ -63,7 +63,7 @@ help:
...
@@ -63,7 +63,7 @@ help:
.DEFAULT
:
.DEFAULT
:
@
test
-f
MAKE/Makefile.
$@
@
test
-f
MAKE/Makefile.
$@
@
if
[
!
-d
Obj_
$@
]
;
then
mkdir
Obj_
$@
;
fi
@
if
[
!
-d
Obj_
$@
]
;
then
mkdir
Obj_
$@
;
fi
@
/bin/sh
Make.sh style
@
$(
SHELL
)
Make.sh style
@
cp
-p
*
.cpp
*
.h Obj_
$@
@
cp
-p
*
.cpp
*
.h Obj_
$@
@
cp
MAKE/Makefile.
$@
Obj_
$@
/Makefile
@
cp
MAKE/Makefile.
$@
Obj_
$@
/Makefile
@
if
[
!
-e
Makefile.package
]
;
then
make package-regenerate
;
fi
@
if
[
!
-e
Makefile.package
]
;
then
make package-regenerate
;
fi
...
@@ -98,12 +98,12 @@ tar:
...
@@ -98,12 +98,12 @@ tar:
# Update Makefile.lib and Makefile.list
# Update Makefile.lib and Makefile.list
makelib
:
makelib
:
@
/bin/sh
Make.sh style
@
$(
SHELL
)
Make.sh style
@
/bin/sh
Make.sh Makefile.lib
@
$(
SHELL
)
Make.sh Makefile.lib
makelist
:
makelist
:
@
/bin/sh
Make.sh style
@
$(
SHELL
)
Make.sh style
@
/bin/sh
Make.sh Makefile.list
@
$(
SHELL
)
Make.sh Makefile.list
# Package management
# Package management
...
@@ -149,7 +149,7 @@ yes-%:
...
@@ -149,7 +149,7 @@ yes-%:
echo
"Package
$(
@:yes-%=%
)
does not exist"
;
\
echo
"Package
$(
@:yes-%=%
)
does not exist"
;
\
else
\
else
\
echo
"Installing package
$(
@:yes-%=%
)
"
;
\
echo
"Installing package
$(
@:yes-%=%
)
"
;
\
cd
$(
YESDIR
);
/bin/sh
Install.sh 1
;
\
cd
$(
YESDIR
);
$(
SHELL
)
Install.sh 1
;
\
fi
;
fi
;
no-%
:
no-%
:
...
@@ -157,7 +157,7 @@ no-%:
...
@@ -157,7 +157,7 @@ no-%:
echo
"Package
$(
@:no-%=%
)
does not exist"
;
\
echo
"Package
$(
@:no-%=%
)
does not exist"
;
\
else
\
else
\
echo
"Uninstalling package
$(
@:no-%=%
)
, ignore errors"
;
\
echo
"Uninstalling package
$(
@:no-%=%
)
, ignore errors"
;
\
cd
$(
NODIR
);
/bin/sh
Install.sh 0
;
cd
..
;
\
cd
$(
NODIR
);
$(
SHELL
)
Install.sh 0
;
cd
..
;
\
fi
;
fi
;
# status = list differences between src and package files
# status = list differences between src and package files
...
@@ -166,21 +166,21 @@ no-%:
...
@@ -166,21 +166,21 @@ no-%:
# regenerate = regenerate Makefile.package from Makefile.package.empty
# regenerate = regenerate Makefile.package from Makefile.package.empty
package-status
:
package-status
:
@
for
p
in
$(
PACKAGEUC
);
do
/bin/sh
Package.sh
$$
p status
;
done
@
for
p
in
$(
PACKAGEUC
);
do
$(
SHELL
)
Package.sh
$$
p status
;
done
@
echo
''
@
echo
''
@
for
p
in
$(
PACKUSERUC
);
do
/bin/sh
Package.sh
$$
p status
;
done
@
for
p
in
$(
PACKUSERUC
);
do
$(
SHELL
)
Package.sh
$$
p status
;
done
package-update
:
package-update
:
@
for
p
in
$(
PACKAGEUC
);
do
/bin/sh
Package.sh
$$
p update
;
done
@
for
p
in
$(
PACKAGEUC
);
do
$(
SHELL
)
Package.sh
$$
p update
;
done
@
echo
''
@
echo
''
@
for
p
in
$(
PACKUSERUC
);
do
/bin/sh
Package.sh
$$
p update
;
done
@
for
p
in
$(
PACKUSERUC
);
do
$(
SHELL
)
Package.sh
$$
p update
;
done
package-overwrite
:
package-overwrite
:
@
for
p
in
$(
PACKAGEUC
);
do
/bin/sh
Package.sh
$$
p overwrite
;
done
@
for
p
in
$(
PACKAGEUC
);
do
$(
SHELL
)
Package.sh
$$
p overwrite
;
done
@
echo
''
@
echo
''
@
for
p
in
$(
PACKUSERUC
);
do
/bin/sh
Package.sh
$$
p overwrite
;
done
@
for
p
in
$(
PACKUSERUC
);
do
$(
SHELL
)
Package.sh
$$
p overwrite
;
done
package-regenerate
:
package-regenerate
:
@
cp
Makefile.package.empty Makefile.package
@
cp
Makefile.package.empty Makefile.package
@
for
p
in
$(
PACKAGEUC
);
do
/bin/sh
Package.sh
$$
p regenerate
;
done
@
for
p
in
$(
PACKAGEUC
);
do
$(
SHELL
)
Package.sh
$$
p regenerate
;
done
@
for
p
in
$(
PACKUSERUC
);
do
/bin/sh
Package.sh
$$
p regenerate
;
done
@
for
p
in
$(
PACKUSERUC
);
do
$(
SHELL
)
Package.sh
$$
p regenerate
;
done
This diff is collapsed.
Click to expand it.
src/OPT/Package.sh
+
8
−
8
View file @
38ab9087
...
@@ -3,28 +3,28 @@
...
@@ -3,28 +3,28 @@
# do not copy eam and charmm files if non-OPT versions do not exist
# do not copy eam and charmm files if non-OPT versions do not exist
for
file
in
*
.cpp
*
.h
;
do
for
file
in
*
.cpp
*
.h
;
do
if
(
test
$file
=
=
pair_eam_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_eam_opt.h
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_opt.h
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_eam_alloy_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_alloy_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_eam_alloy_opt.h
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_alloy_opt.h
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_eam_fs_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_fs_opt.cpp
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_eam_fs_opt.h
-a
!
-e
../pair_eam.cpp
)
then
if
(
test
$file
=
pair_eam_fs_opt.h
-a
!
-e
../pair_eam.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_lj_charmm_coul_long_opt.cpp
-a
!
-e
../pair_lj_charmm_coul_long.cpp
)
then
if
(
test
$file
=
pair_lj_charmm_coul_long_opt.cpp
-a
!
-e
../pair_lj_charmm_coul_long.cpp
)
then
continue
continue
fi
fi
if
(
test
$file
=
=
pair_lj_charmm_coul_long_opt.h
-a
!
-e
../pair_lj_charmm_coul_long.cpp
)
then
if
(
test
$file
=
pair_lj_charmm_coul_long_opt.h
-a
!
-e
../pair_lj_charmm_coul_long.cpp
)
then
continue
continue
fi
fi
...
...
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