[AMBER-Developers] Sander Makefile patch

From: Ben Roberts <roberts.qtp.ufl.edu>
Date: Tue, 9 Mar 2010 18:28:09 -0500

Hi all,

I just discovered that the rule for making sander.PUPIL (sander/Makefile) was broken, missing the PBSA stuff it needed. So I've updated the rule.

I also took the opportunity to shorten (and backslash) a handful of nearby lines, for the benefit of those reading the code in 80-character terminal emulators.

I've attached a patch file so it can be applied by someone powerful.

Cheers,
Ben

--- Makefile.bak 2010-03-09 18:21:15.000000000 -0500
+++ Makefile 2010-03-09 18:22:43.000000000 -0500
.@ -251,20 +251,23 @@
 #---------------------------------------------------------------------------
 sander.MPI$(SFX): $(NETCDF) $(MMOBJ) $(QMOBJ) $(FULLPIMDOBJ) \
               $(LSCIVROBJ) $(EVBOBJ) force.o \
- syslib nxtsec libsqm netlib libpbsa configured_parallel $(NCSU_OBJECTS)
+ syslib nxtsec libsqm netlib libpbsa \
+ configured_parallel $(NCSU_OBJECTS)
         $(FC) -o sander.MPI$(SFX) $(MMOBJ) $(QMOBJ) \
               $(FULLPIMDOBJ) $(LSCIVROBJ) $(EVBOBJ) force.o \
                 $(LIBDIR)/libsqm.a $(LIBDIR)/libFpbsa.a $(FLIBSF) \
- ../lib/nxtsec.o ../lib/sys.a $(NCSU_OBJECTS) $(NETCDFLIB) $(LDFLAGS)
+ ../lib/nxtsec.o ../lib/sys.a $(NCSU_OBJECTS) \
+ $(NETCDFLIB) $(LDFLAGS)
 
 #---------------------------------------------------------------------------
 sander.PUPIL$(SFX): $(NETCDF) $(PUPILOBJ) $(QMOBJ) $(FULLPIMDOBJ) \
- $(LSCIVROBJ) syslib \
- nxtsec libsqm netlib configured_serial $(NCSU_OBJECTS)
+ $(LSCIVROBJ) syslib \
+ nxtsec libsqm libpbsa netlib \
+ configured_serial $(NCSU_OBJECTS)
         $(FC) -o sander.PUPIL$(SFX) $(PUPILOBJ) $(QMOBJ) $(FULLPIMDOBJ) \
- $(LSCIVROBJ) $(LIBDIR)/libsqm.a $(FLIBSF) \
+ $(LSCIVROBJ) $(LIBDIR)/libsqm.a $(LIBDIR)/libFpbsa.a $(FLIBSF) \
         ../lib/nxtsec.o ../lib/sys.a $(NCSU_OBJECTS) $(NETCDFLIB) \
- -lm -lc -L${PUPIL_PATH}/lib -lPUPIL -lPUPILBlind $(LDFLAGS)
+ -lm -lc -L${PUPIL_PATH}/lib -lPUPIL -lPUPILBlind $(LDFLAGS)
 
 #---------------------------------------------------------------------------
 sander.LES$(SFX): $(NETCDF) $(LESOBJ) $(PARTPIMDOBJ) syslib nxtsec netlib \


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Mar 09 2010 - 15:30:04 PST
Custom Search