Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove stack limit checks in scripts #1280

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions test_fms/fms2_io/test_fms2_io.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@
# Create and enter output directory
output_dir

# use smaller arrays if system stack size is limited
if [ $STACK_LIMITED ]; then
cat <<_EOF > input.nml
&test_fms2_io_nml
nx = 32
ny = 32
nz = 10
/
_EOF
fi
touch input.nml

# run the tests
Expand Down
5 changes: 0 additions & 5 deletions test_fms/mpp/test_mpp_chksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@

echo "&test_mpp_chksum_nml" > input.nml
echo "test_num = 1" >> input.nml
# replaces defaults with smaller sizes if stack size is limited
if [ $STACK_LIMITED ]; then
echo "nx = 64" >> input.nml
echo "ny = 64" >> input.nml
fi
echo "/" >> input.nml

test_expect_success "mpp_chksum simple functionality" '
Expand Down
5 changes: 0 additions & 5 deletions test_fms/test-lib.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ TEST_NAME="$(basename "$0" .sh)"
TEST_NUMBER="${TEST_NAME%%-*}"
TEST_NUMBER="${TEST_NUMBER#t}"

# if using intel with a limited stack size, sets to run smaller tests
if [ "$($FC --version | grep ifort)" -a "$(ulimit -s)" != "unlimited" 2> /dev/null ]; then
STACK_LIMITED=1
fi

exec 7>&2
# For now, write all output
#if test -n "$VERBOSE"
Expand Down
Loading