Skip to content

Commit 31616b1

Browse files
committed
added fpic flag
1 parent 32692e1 commit 31616b1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ LAPACK_DIR = /usr
3939

4040
ifeq ($(COMPILER),gnu)
4141
F90 = gfortran-7
42-
F90FLAGS := -cpp
42+
F90FLAGS := -cpp -fPIC
4343

4444
# COMPLEX mode
4545
ifeq ($(COMPLEX),yes)

build.sh

100755100644
File mode changed.

src/class_assembler.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ pure type(real(dp)) function evaluate_source(x)
614614

615615
real(dp), intent(in) :: x(3)
616616

617-
evaluate_source = 0.0d0 !-1.0d0 !sin(x(1)) + cos(x(2))
617+
evaluate_source = 1.0d0 !-1.0d0 !sin(x(1)) + cos(x(2))
618618

619619
end function evaluate_source
620620

0 commit comments

Comments
 (0)