Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92819848
Makefile.redsky
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 23, 23:11
Size
1 KB
Mime Type
text/plain
Expires
Mon, Nov 25, 23:11 (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
22494816
Attached To
rLAMMPS lammps
Makefile.redsky
View Options
# *
# *_________________________________________________________________________*
# * Fortran Library for Reactive Force Field *
# * DESCRIPTION: SEE READ-ME *
# * FILE NAME: Makefile *
# * CONTRIBUTING AUTHORS: Hansohl Cho(MIT), Aidan Thompson(SNL) *
# * and Greg Wagner(SNL) *
# * CONTACT: hansohl@mit.edu, athompson@sandia.gov, gjwagne@sandia.gov *
# *_________________________________________________________________________*/
# To compile and link LAMMPS to the reax library generated by this Makefile,
# you need to first install the reax package (make yes-reax), after which the
# file Makefile.package should look something like:
# PKG_INC = -I../../lib/reax
# PKG_PATH = -L../../lib/reax
# PKG_LIB = -lreax
# PKG_SYSPATH = $(reax_SYSPATH)
# PKG_SYSLIB = $(reax_SYSLIB)
# The reax_SYSPATH and reax_SYSLIB variables contain compiler options
# giving the paths of needed FORTRAN libraries, and their names, respectively
#
# For Makefile.redsky, try
#
# reax_SYSPATH = -L/projects/global/x86_64/compilers/intel/intel-11.1-cprof-06
4/lib/intel64
# reax_SYSLIB = -lifcore -lsvml -lompstub -limf
SHELL = /bin/sh
# ------ FILES ------
SRC = reax_connect.F reax_inout.F reax_lammps.F reax_poten.F reax_reac.F reax_charges.F
HEADERFILES = reax_defs.h *.blk
# ------ DEFINITIONS ------
LIB = libreax.a
OBJ = $(SRC:.F=.o)
# ------ SETTINGS ------
F90 = mpif90
F90FLAGS = -O
ARCHIVE = ar
ARCHFLAG = -rc
USRLIB =
SYSLIB =
# ------ MAKE PROCEDURE ------
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(LIB) $(OBJ)
# ------ COMPILE RULES ------
%.o:%.F $(HEADERFILES)
$(F90) $(F90FLAGS) -c $<
# ------ CLEAN ------
clean:
-rm *.o $(LIB)
Event Timeline
Log In to Comment