Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92819897
Makefile.tbird
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:12
Size
1 KB
Mime Type
text/plain
Expires
Mon, Nov 25, 23:12 (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
22228681
Attached To
rLAMMPS lammps
Makefile.tbird
View Options
# *
# *_________________________________________________________________________*
# * MEAM: MODEFIED EMBEDDED ATOM METHOD *
# * DESCRIPTION: SEE READ-ME *
# * FILE NAME: Makefile *
# * AUTHORS: Greg Wagner, Sandia National Laboratories *
# * CONTACT: gjwagne@sandia.gov *
# *_________________________________________________________________________*/
# As of April 2009, you can compile and link LAMMPS to the library
# created by this file, using the following changes to the
# standard version of src/MAKE/Makefile.tbird
#
# LINKFLAGS = -O -L../../lib/meam -L/projects/global/x86_64/compilers/intel/intel-11.0-cprof-074/lib/intel64
# USRLIB = $(BLASLIB) $(FFTW_LINK_LINE) -lstdc++ -lmeam
# SYSLIB = -lm -lsvml -lifport -lifcore
#
SHELL = /bin/sh
# ------ FILES ------
SRC = meam_data.F meam_setup_done.F meam_setup_global.F meam_setup_param.F meam_dens_init.F meam_dens_final.F meam_force.F meam_cleanup.F
FILES = $(SRC) Makefile
# ------ DEFINITIONS ------
LIB = libmeam.a
OBJ = $(SRC:.F=.o)
# ------ SETTINGS ------
F90 = mpif90
F90FLAGS = -O
ARCHIVE = ar
ARCHFLAG = -rc
LINK = g++
LINKFLAGS = -O
USRLIB =
SYSLIB =
# ------ MAKE PROCEDURE ------
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(LIB) $(OBJ)
# ------ COMPILE RULES ------
%.o:%.F
$(F90) $(F90FLAGS) -c $<
# ------ CLEAN ------
clean:
-rm *.o *.mod *~ $(LIB)
tar:
-tar -cvf ../MEAM.tar $(FILES)
Event Timeline
Log In to Comment