File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- # Ensure CODE is exported for make configs
5- export CODE
4+ # Ensure CODE_ROOT is exported for make configs (can't use CODE - build_all uses it)
5+ export CODE_ROOT= " $ CODE"
66
77# Create ~/bin for libstell symlinks and ensure it's in PATH
88mkdir -p ~ /bin
Original file line number Diff line number Diff line change 2020 FLAGS_R = -O2 -fexternal -blas -fbacktrace -march = native
2121 FLAGS_D = -g -O0 -fexternal -blas -fcheck = all
2222 # Use OpenBLAS (includes LAPACK)
23- OPENBLAS_DIR = $(CODE )/external /OpenBLAS -0.3.28 /install
23+ OPENBLAS_DIR = $(CODE_ROOT )/external /OpenBLAS -0.3.28 /install
2424 LIBS = -L $(OPENBLAS_DIR )/lib -lopenblas
2525
2626 GFORTRAN_VERSION := $(shell $(FC ) -dumpversion )
6868# HDF5 Options (from netcdf-install which includes HDF5)
6969# ######################################################################
7070 LHDF5 = T
71- HDF5_DIR = $(CODE )/external /netcdf -install
71+ HDF5_DIR = $(CODE_ROOT )/external /netcdf -install
7272 HDF5_INC = -I $(HDF5_DIR )/include
7373 HDF5_LIB = -L $(HDF5_DIR )/lib -lhdf5_fortran -lhdf5_hl -lhdf5 -lz
7474
You can’t perform that action at this time.
0 commit comments