Changeset 4e219a3 for Makefile


Ignore:
Timestamp:
09/05/08 11:49:43 (16 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
a52fb83
Parents:
229cc35
Message:

Update Lund init and BG/P compatibility.

  • Moved call of init_lundff after initialization of the molecule. The Lund

force field needs the molecule to calculate the hydrophobicity matrix.

  • Added bgp target to Makefile to compile SMMP on a BlueGene/P
  • Split if statement in setmvs to avoid out-of-range warning for array

access.

  • Changed setup of boundaries in Protein.zimmer() to match new version of

numpy.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/smmp/trunk@15 26dc1dd8-5c4e-0410-9ffe-d298b4865968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r229cc35 r4e219a3  
    44
    55%_p.o : %_p.f
     6        $(MPIF90) $(F_FLAGS) $<
     7       
     8%_p.o : %_p.F
    69        $(MPIF90) $(F_FLAGS) $<
    710       
     
    3639F_FLAGS=-c -O2 -g
    3740# Flags for Intel's ifort
    38 # F_FLAGS=-c -O3 -axW -g
     41# F_FLAGS=-c -O3 -axW -g -DONECALL -DBRANCHLESS
    3942# Flags for debugging build
    4043# F_FLAGS=-c -O0 -g
     
    4851
    4952# Select your compiler
    50 F90=gfortran
    5153#F90=ifort
    5254#F90=pgf90
    5355#F90=xlf
     56F90=gfortran
    5457MPIF90=mpif90
    5558
     
    9497        $(MPIF90) -o $(PROG) $(L_FLAGS) main_p.o $(OBJ) $(POBJ)
    9598
    96 # Cross compile for BlueGene/P
     99# Cross compile for BlueGene/L
    97100bgl: BGL_L_FLAGS = -L$(BGLSYS)/lib -lmpich.rts -lfmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts -qextname=flush
    98101bgl: F_FLAGS = -c -O5 -qhot -g -I$(BGLSYS)/include -L$(BGLSYS)/lib -qarch=440 -qtune=440 -qextname=flush
     
    105108bgl: $(OBJ) $(POBJ) main_bgl_p.o
    106109        $(BGL_F90) -o $(PROG).rts $(BGL_L_FLAGS) main_bgl_p.o $(OBJ) $(POBJ) $(LIBSF_MPI)
     110
     111# Cross compile for BlueGene/P
     112bgp: BGP_SYS = /bgsys/drivers/ppcfloor/comm
     113bgp: DIRCOMP = /opt/ibmcmp/xlf/bg/11.1/bin
     114bgp: BGP_L_FLAGS = -O3 -qhot -g -I$(BGP_SYS)/include -qarch=440 -qtune=440 -qextname=flush
     115bgp: F_FLAGS = -c -O3 -qhot -g -I$(BGP_SYS)/include -qarch=440 -qtune=440 -qextname=flush
     116bgp: BGP_F90 = bgxlf
     117bgp: F90 = $(BGP_F90)
     118bgp: MPIF90 = $(BGP_F90)
     119bgp: LIBS=-Wl,-allow-multiple-definition $(MASS) $(ESSL) -L$(BGP_SYS)/lib -lmpich.cnk -ldcmfcoll.cnk -ldcmf.cnk -L/bgsys/drivers/ppcfloor/runtime/SPI -lSPI.cna -lrt -lpthread
     120
     121bgp: $(OBJ) $(POBJ) main_p.o
     122        $(BGP_F90) -o $(PROG).rts $(BGP_L_FLAGS) main_p.o $(OBJ) $(POBJ) $(LIBS)
    107123
    108124# Build the python bindings
Note: See TracChangeset for help on using the changeset viewer.