Skip to content

Commit

Permalink
build on engaging centos7, fieldline tracing for mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwright77 committed Feb 8, 2024
1 parent d67b22a commit 53cf57c
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 119 deletions.
4 changes: 2 additions & 2 deletions compileropts.gnu
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# gfortran options


GF_VER=`gfortran -dumpversion`
GF_VER=$(shell eval gfortran -dumpversion)

ifeq ($(GF_VER), "6.2.0")
C13_ARGS=""
$(info $(GF_VER) )
else
$(info $(GF_VER) )
C13_ARGS=-fallow-argument-mismatch
C13_ARGS= -fallow-argument-mismatch
endif

COMMON_OPTION = -fno-automatic -fdefault-real-8 -fdefault-double-8
Expand Down
2 changes: 1 addition & 1 deletion makeopts.eofe7
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include compileropts.gnu
#CENTOS7 systems at mit engaging cluster
FC = mpif90 -cpp
FC = mpif90 -g -cpp
NETCDF_LIB=/home/software/gcc/6.2.0/pkg/netcdf/4.6.3-c/lib
NETCDF_INC=/home/software/gcc/6.2.0/pkg/netcdf/4.6.3-c/include
SCALAPACK_LIB=/nfs/psfclab001/software/spack/var/spack/environments/scalapack/.spack-env/view/lib
Expand Down
2 changes: 1 addition & 1 deletion modules.eofe7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module use /orcd/nese/psfc/001/software/modulefiles/psfc-modules
module use /nfs/psfclab001/software/modulefiles/
module load gcc
module load openmpi/3.0.4
module load psfc/pgplot/gcc6.2.0/5.2.2 netcdf/4.6.3
Expand Down
1 change: 1 addition & 0 deletions src/aorsa2din_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ module aorsa2din_mod
integer :: i_antenna = 1 ! i_antenna = flag determining which antenna model is used
! if(i_antenna .eq. 0) antenna current is Gaussian
! if(i_antenna .eq. 1) antenna current is cos(ky * y) (default)
! 2,3,4 ranval for y,x,z components
! where ky = omgrf / vphase = (omgrf / clight) * antlc = k0 * antlc
! For constant current, set antlc = 0.0
integer :: nuper = 65
Expand Down
4 changes: 2 additions & 2 deletions src/field_line_trace.f
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ subroutine field_line_trace(myid, eqdsk, nmodesx, nmodesy,
real zbratio(nxmx, nymx, 3)
real zpsi(nxmx, nymx, 3)

real temp(2 *(nxmx + nymx) )
real temp(2 *(nxmx + nymx) )
real surf2, curv2


Expand Down Expand Up @@ -2830,7 +2830,7 @@ subroutine eqdsk_setup2(myid, eqdsk, nmodesx, nmodesy,
real zbratio(nxmx, nymx, 3)
real zpsi(nxmx, nymx, 3)

real temp(2 *(nxmx + nymx) )
real temp(2 *(nxmx + nymx) )
real surf2, curv2


Expand Down
Loading

0 comments on commit 53cf57c

Please sign in to comment.