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

updates from p690

parent 9d2d7f33
No related branches found
No related tags found
No related merge requests found
...@@ -53,9 +53,10 @@ del_flip.o ...@@ -53,9 +53,10 @@ del_flip.o
all: $(LIBFILE) all: $(LIBFILE)
$(LIBFILE): $(OBJECTS) $(UTILS) $(LIBFILE): $(OBJECTS) $(UTILS)
$(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar $(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT) # echo "compiler output...."
# more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -349,10 +349,10 @@ do while (istep.le.params%nstep) ...@@ -349,10 +349,10 @@ do while (istep.le.params%nstep)
! if (params%griditer .lt. 0 .and. current_level==params%levelmax_oct) converge=.true. ! if (params%griditer .lt. 0 .and. current_level==params%levelmax_oct) converge=.true.
if (iproc.eq.0 .and. params%debug>=1) then if (iproc.eq.0 .and. params%debug>=1) then
write(*,'(a,L)') shift//'(1) params%griditer < 0 ',(params%griditer.lt.0) write(*,'(a,L1)') shift//'(1) params%griditer < 0 ',(params%griditer.lt.0)
write(*,'(a,L)') shift//'(2) current_level==params%levelmax_oct',(current_level==params%levelmax_oct) write(*,'(a,L1)') shift//'(2) current_level==params%levelmax_oct',(current_level==params%levelmax_oct)
write(*,'(a,L)') shift//'(3) increase_current_level ',increase_current_level write(*,'(a,L1)') shift//'(3) increase_current_level ',increase_current_level
write(*,'(a,L)') shift//'converge = (1) & (2) & (3) -> ',(params%griditer .lt. 0 .and. current_level==params%levelmax_oct .and. increase_current_level) write(*,'(a,L1)') shift//'converge = (1) & (2) & (3) -> ',(params%griditer .lt. 0 .and. current_level==params%levelmax_oct .and. increase_current_level)
end if end if
...@@ -448,7 +448,7 @@ do while (istep.le.params%nstep) ...@@ -448,7 +448,7 @@ do while (istep.le.params%nstep)
write(*,'(a)') shift//'After surfaces embedding:' write(*,'(a)') shift//'After surfaces embedding:'
write(*,'(a,i8,a)') shift//'nleaves_old= ',nleaves_old_mem2,' leaves' write(*,'(a,i8,a)') shift//'nleaves_old= ',nleaves_old_mem2,' leaves'
write(*,'(a,i8,a)') shift//'nleaves_new= ',nleaves_new_mem2,' leaves' write(*,'(a,i8,a)') shift//'nleaves_new= ',nleaves_new_mem2,' leaves'
write(*,'(a,l)') shift//'C2: authorise increase of refine level = ',increase_current_level write(*,'(a,l1)') shift//'C2: authorise increase of refine level = ',increase_current_level
end if end if
nleaves_old_mem1=nleaves_new_mem1 nleaves_old_mem1=nleaves_new_mem1
...@@ -708,7 +708,7 @@ do while (istep.le.params%nstep) ...@@ -708,7 +708,7 @@ do while (istep.le.params%nstep)
if (velocity_converged .and. increase_current_level) current_level=min(current_level+1,params%levelmax_oct) if (velocity_converged .and. increase_current_level) current_level=min(current_level+1,params%levelmax_oct)
if (iproc.eq.0 .and. params%debug>=1) then if (iproc.eq.0 .and. params%debug>=1) then
write(*,'(a,L)') shift//'increase_current_level ->',increase_current_level write(*,'(a,L1)') shift//'increase_current_level ->',increase_current_level
write(*,'(a,i2)') shift//'current_level ->',current_level write(*,'(a,i2)') shift//'current_level ->',current_level
end if end if
......
...@@ -25,8 +25,8 @@ create_surfaces.o \ ...@@ -25,8 +25,8 @@ create_surfaces.o \
define_bc.o \ define_bc.o \
define_bc_ritske.o \ define_bc_ritske.o \
define_bc_ritske_isurf.o \ define_bc_ritske_isurf.o \
define_bc_sphere.o\ define_bc_sphere.o \
define_bc_riedel.o\ define_bc_riedel.o \
define_bc_3Dpunch.o \ define_bc_3Dpunch.o \
define_bc_2Dpunch.o \ define_bc_2Dpunch.o \
define_bc_2Dpunch_vert.o \ define_bc_2Dpunch_vert.o \
...@@ -36,16 +36,16 @@ define_bc_jgr.o \ ...@@ -36,16 +36,16 @@ define_bc_jgr.o \
define_bc_subduction.o \ define_bc_subduction.o \
define_bc_parallipipede.o \ define_bc_parallipipede.o \
define_bc_model1.o \ define_bc_model1.o \
define_surface.o\ define_surface.o \
define_cloud.o\ define_cloud.o \
define_ov.o\ define_ov.o \
do_leaf_measurements.o \ do_leaf_measurements.o \
embed_surface_in_octree.o \ embed_surface_in_octree.o \
erosion.o \ erosion.o \
find_void_nodes.o \ find_void_nodes.o \
flush.o \ flush.o \
heap.o \ heap.o \
improve_osolve.o\ improve_osolve.o \
initialize_temperature.o \ initialize_temperature.o \
interpolate_ov_on_osolve.o \ interpolate_ov_on_osolve.o \
interpolate_velocity_on_surface.o \ interpolate_velocity_on_surface.o \
...@@ -69,7 +69,7 @@ update_cloud_structure.o \ ...@@ -69,7 +69,7 @@ update_cloud_structure.o \
update_cloud_fields.o \ update_cloud_fields.o \
visualise_matrix.o \ visualise_matrix.o \
remove_point.o \ remove_point.o \
wsmp_setup.o\ wsmp_setup.o \
DOUAR.o \ DOUAR.o \
write_global_output.o vrm.o write_global_output.o vrm.o
...@@ -80,12 +80,14 @@ $(BIN): subdirs $(OBJECTS) ...@@ -80,12 +80,14 @@ $(BIN): subdirs $(OBJECTS)
1>$(BIN).link.stdout 2>$(BIN).link.stderr 1>$(BIN).link.stdout 2>$(BIN).link.stderr
$(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \ $(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \
1>>$(BIN).link.stdout 2>>$(BIN).link.stderr 1>>$(BIN).link.stdout 2>>$(BIN).link.stderr
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT) # echo "compiler output...."
echo "--" # more $(COMPILE_OUT)
echo "linker output...." # echo "--"
more $(BIN).link # echo "linker output...."
# more $(BIN).link.stderr
# more $(BIN).link.stdout
.PHONY: install .PHONY: install
install: install:
......
...@@ -42,23 +42,37 @@ FLG64=-b64 ...@@ -42,23 +42,37 @@ FLG64=-b64
# -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable # -qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable
# take -qextchk out for the final compile # take -qextchk out for the final compile
FFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \ # -O2 -qstrict
-qmaxmem=-1 \ # FFLAGS = -g -O0 -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \
-qcheck -qwarn64 \ #-qmaxmem=-1 \
-qfloat=nomaf:nofold:norsqrt:strictnmaf \ #-qcheck -qwarn64 \
-qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \ #-qfloat=nomaf:nofold:norsqrt:strictnmaf \
-qsigtrap \ #-qflttrap=overflow:underflow:zerodivide:invalid:NANQ:enable \
-qhalt=s -qextchk #-qsigtrap \
#-qhalt=e
# -qextchk
# Define C compiler flags............................. # Define C compiler flags.............................
# #
# take -qextchk out for the final compile # take -qextchk out for the final compile
CFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \ #CFLAGS = -g -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \
-qcheck -qwarn64 \ #-qcheck -qwarn64 \
#-qfloat=nomaf:nofold:norsqrt \
#-qflttrap=overflow:underflow:zerodivide:invalid:enable \
#-qhalt=e
# -qextchk
# full speed ahead and damn the torpedos..................
#
FFLAGS = -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \
-qmaxmem=-1 \
-qfloat=nomaf:nofold:norsqrt:strictnmaf \
-qhalt=e
CFLAGS = -O2 -qstrict -Q $(BITS) $(FLG64) -qarch=auto -qtune=auto \
-qfloat=nomaf:nofold:norsqrt \ -qfloat=nomaf:nofold:norsqrt \
-qflttrap=overflow:underflow:zerodivide:invalid:enable \ -qhalt=e
-qhalt=e -qextchk
# compile rules....................................... # compile rules.......................................
# #
......
...@@ -10,15 +10,18 @@ all: $(LIBFILE_f) $(LIBFILE_c) ...@@ -10,15 +10,18 @@ all: $(LIBFILE_f) $(LIBFILE_c)
$(LIBFILE_f): $(OBJECTS_NN_f) $(LIBFILE_f): $(OBJECTS_NN_f)
$(AR) -rv $(LIBFILE_f) $(OBJECTS_NN_f) >$(LIBFILE_f).ar $(AR) -rv $(LIBFILE_f) $(OBJECTS_NN_f) >$(LIBFILE_f).ar
mv -f $(COMPILE_OUT) $(COMPILE_OUT)_f mv -f $(COMPILE_OUT) $(COMPILE_OUT)_f
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT)_f # echo "compiler output...."
# more $(COMPILE_OUT)_f
$(LIBFILE_c): $(OBJECTS_NN_c) $(LIBFILE_c): $(OBJECTS_NN_c)
$(AR) -rv $(LIBFILE_c) $(OBJECTS_NN_c) >$(LIBFILE_c).ar $(AR) -rv $(LIBFILE_c) $(OBJECTS_NN_c) >$(LIBFILE_c).ar
mv -f $(COMPILE_OUT) $(COMPILE_OUT)_c mv -f $(COMPILE_OUT) $(COMPILE_OUT)_c
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT)_c # echo "compiler output...."
# more $(COMPILE_OUT)_c
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -16,9 +16,10 @@ rootls_sloan.o ...@@ -16,9 +16,10 @@ rootls_sloan.o
all: $(LIBFILE) all: $(LIBFILE)
$(LIBFILE): $(OBJECTS_OCTREE) $(LIBFILE): $(OBJECTS_OCTREE)
$(AR) -rv $(LIBFILE) $(OBJECTS_OCTREE) >$(LIBFILE).ar $(AR) -rv $(LIBFILE) $(OBJECTS_OCTREE) >$(LIBFILE).ar
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT) # echo "compiler output...."
# more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -20,9 +20,10 @@ resample.o ...@@ -20,9 +20,10 @@ resample.o
all: $(LIBFILE) all: $(LIBFILE)
$(LIBFILE): $(OBJECTS) $(LIBFILE): $(OBJECTS)
$(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar $(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar
echo "--"
echo "compiler output...." # echo "--"
more $(COMPILE_OUT) # echo "compiler output...."
# more $(COMPILE_OUT)
.PHONY: objclean .PHONY: objclean
objclean: objclean:
......
...@@ -7,7 +7,7 @@ c Author: Douglas Guptill ...@@ -7,7 +7,7 @@ c Author: Douglas Guptill
c 2009-05-23: new c 2009-05-23: new
integer unit integer unit
c call flush_(unit) call flush_(unit)
return return
end end
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