Skip to content
Snippets Groups Projects
Commit fd604e0a authored by Douglas Guptill's avatar Douglas Guptill
Browse files

latest tweaks backported from p690

parent 700fbe41
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,9 @@ del_flip.o ...@@ -52,6 +52,9 @@ del_flip.o
all: lib$(NAME).a all: lib$(NAME).a
lib$(NAME).a: $(OBJECTS) $(UTILS) lib$(NAME).a: $(OBJECTS) $(UTILS)
ar -rv lib$(NAME).a $(OBJECTS) ar -rv lib$(NAME).a $(OBJECTS)
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -78,6 +78,9 @@ all: $(NAME) ...@@ -78,6 +78,9 @@ all: $(NAME)
$(NAME): subdirs $(OBJECTS) $(NAME): subdirs $(OBJECTS)
$(F90) $(FLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(NAME) \ $(F90) $(FLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(NAME) \
>$(NAME).link 2>&1 >$(NAME).link 2>&1
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
subdirs: subdirs:
......
...@@ -8,10 +8,10 @@ CC = mpcc_r ...@@ -8,10 +8,10 @@ CC = mpcc_r
# #
# I would like to add -u here, but Wow! Just try it. # I would like to add -u here, but Wow! Just try it.
FFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \ FFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \
-qfloat=nomaf:nofold -qfloat=nomaf:nofold
#*****check these******* #*****check these*******
CFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \ CFLAGS = -O3 -qstrict -Q -qarch=auto -qtune=auto \
-qfloat=nomaf:nofold -qfloat=nomaf:nofold
# Define other things # Define other things
# #
...@@ -33,7 +33,7 @@ LIBS = \ ...@@ -33,7 +33,7 @@ LIBS = \
# INCLUDE = -I$(MUMPS)/include # INCLUDE = -I$(MUMPS)/include
OPTIONS = OPTIONS = -bmaxdata:0x80000000 -bhalt:0 -bnoquiet
# compile rules # compile rules
# #
......
...@@ -14,6 +14,9 @@ volume.o ...@@ -14,6 +14,9 @@ volume.o
all: lib$(NAME).a all: lib$(NAME).a
lib$(NAME).a: $(OBJECTS_NN) lib$(NAME).a: $(OBJECTS_NN)
ar rcv lib$(NAME).a $(OBJECTS_NN) ar rcv lib$(NAME).a $(OBJECTS_NN)
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -15,6 +15,9 @@ rootls_sloan.o ...@@ -15,6 +15,9 @@ rootls_sloan.o
all: lib$(NAME).a all: lib$(NAME).a
lib$(NAME).a: $(OBJECTS_OCTREE) lib$(NAME).a: $(OBJECTS_OCTREE)
ar rcv lib$(NAME).a $(OBJECTS_OCTREE) ar rcv lib$(NAME).a $(OBJECTS_OCTREE)
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -19,6 +19,9 @@ resample.o ...@@ -19,6 +19,9 @@ resample.o
all: lib$(NAME).a all: lib$(NAME).a
lib$(NAME).a: $(OBJECTS) lib$(NAME).a: $(OBJECTS)
ar rcv lib$(NAME).a $(OBJECTS) ar rcv lib$(NAME).a $(OBJECTS)
echo "--"
echo "compiler output...."
more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -5,23 +5,37 @@ ...@@ -5,23 +5,37 @@
# Author: Douglas Guptill # Author: Douglas Guptill
# 2009-05-25: new # 2009-05-25: new
if test $# -lt 1 ; then
echo "Usage: $0 <number-of-processors>"
exit
fi
PROCS=$1
echo "Will use ${PROCS} processes."
make_dir() {
if ! test -d $1; then mkdir $1; fi
}
# For poe, set NLSPATH. # For poe, set NLSPATH.
if test "x${NLSPATH}" = x ; then if test "x${NLSPATH}" = x ; then
export NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat export NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
echo "setting NLSPATH=${NLSPATH}" echo "setting NLSPATH=${NLSPATH}"
fi fi
# The PGPLOT routines need this. # The PGPLOT routines need this.
export PGPLOT_DIR=/home/beaumnt1/software/pgplot-5.2.2 export PGPLOT_DIR=/home/beaumnt1/software/pgplot-5.2.2
# WSMP needs to know where its license file is. # WSMP needs to know where its license file is.
export WSMPLICPATH=/home/beaumnt1/software/wsmp/wsmp.lic export WSMPLICPATH=/home/beaumnt1/software/wsmp/wsmp.lic
# douar needs some directories..
make_dir DEBUG
make_dir DEBUG/mpilogs
# define the binary of douar # define the binary of douar
BIN=/home/beaumnt1/software/douar/douar BIN=/home/beaumnt1/software/douar/douar
# How many processes to run? # How many processes to run?
PROCS=16 # PROCS=4
# Here is the run command # Here is the run command
COM="poe ${BIN} -procs ${PROCS} -hostfile ${HOME}/host.list -euilib ip" COM="poe ${BIN} -procs ${PROCS} -hostfile ${HOME}/host.list -euilib ip"
# start douar! # start douar!
nohup ${COM} & nohup ${COM} &
echo "douar has been started. Look in nohup.out ."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment