Skip to content

Commit

Permalink
Inital import.
Browse files Browse the repository at this point in the history
  • Loading branch information
filippolipparini committed Feb 27, 2023
1 parent 3c0a54e commit 7f709a2
Show file tree
Hide file tree
Showing 6 changed files with 1,459 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.o
*.mod
*.exe
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Makefile
#
FC = gfortran
FFLAGS = -fopenmp -Wall -std=f95 --pedantic
LIBS = -lblas -llapack

MODS = real_precision.o diaglib.o
OBJS = utils.o main.o
#
all: $(MODS) $(OBJS)
$(FC) $(FFLAGS) -o main.exe $(OBJS) $(MODS) $(LIBS)
#
%.o: %.f
$(FC) $(FFLAGS) -c $*.f
%.o: %.f90
$(FC) $(FFLAGS) -c $*.f90
#
clean:
rm -fr $(MODS) $(OBJS) *.exe *.mod
Loading

0 comments on commit 7f709a2

Please sign in to comment.