Added some calc and metric changes

This commit is contained in:
Alex Selimov 2020-11-02 19:50:03 -05:00
parent 153b95194f
commit 0620a07847
4 changed files with 13 additions and 11 deletions

View file

@ -1,14 +1,15 @@
FC=ifort
FC=gfortran
#Ifort flags
FFLAGS=-mcmodel=large -g -O0 -stand f08 -fpe0 -traceback -check bounds,uninit -warn all -implicitnone -no-wrap-margin -heap-arrays
#FFLAGS=-mcmodel=large -g -O0 -stand f08 -fpe0 -traceback -check bounds,uninit -warn all -implicitnone -no-wrap-margin -heap-arrays
#FFLAGS=-mcmodel=large -Ofast -no-wrap-margin -heap-arrays
#gfortran flags
#FFLAGS=-mcmodel=large -O3 -g
FFLAGS=-mcmodel=large -O3 -g
#FFLAGS=-mcmodel=large -O0 -g -fbacktrace -fcheck=all
MODES=mode_create.o mode_merge.o mode_convert.o mode_metric.o
MODES=mode_create.o mode_merge.o mode_convert.o mode_metric.o mode_calc.o
OPTIONS=opt_disl.o opt_group.o opt_orient.o opt_delete.o opt_deform.o opt_redef_box.o opt_slip_plane.o
OBJECTS=main.o elements.o io.o subroutines.o functions.o atoms.o call_mode.o box.o neighbors.o $(MODES) $(OPTIONS) call_option.o sorts.o
@ -23,7 +24,7 @@ cacmb: $(OBJECTS)
.PHONY: clean
clean:
$(RM) cacmb *.o *.mod
$(RM) cacmb *.o *.mod *genmod*
testfuncs: testfuncs.o functions.o subroutines.o
$(FC) testfuncs.o functions.o subroutines.o box.o elements.o -o $@