Skip to content

Commit

Permalink
Converted code to free-form f90, updated makefile template accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumseq committed Dec 6, 2024
1 parent 99938bf commit 4488c37
Show file tree
Hide file tree
Showing 3 changed files with 7,054 additions and 7,048 deletions.
6 changes: 3 additions & 3 deletions src/Makefile.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ clean:
rm -f *.mod *.modmic *.o pot3d_cpp.f 2>/dev/null
rm pot3d 2>/dev/null

pot3d_cpp.f: pot3d.F
$(FC) -E -cpp $(IF_DEF) > pot3d_cpp.f $<
pot3d_cpp.f90: pot3d.F90
$(FC) -E -cpp $(IF_DEF) > pot3d_cpp.f90 $<

psi_io.o: psi_io.f90
$(FC) -c $(FFLAGS) $<

lusol_cusparse.o: lusol_cusparse.c
$(CC) -c $(CCFLAGS) $<

pot3d_cpp.o: pot3d_cpp.f
pot3d_cpp.o: pot3d_cpp.f90
$(FC) -c $(FFLAGS) $<

Loading

0 comments on commit 4488c37

Please sign in to comment.