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

hera.gnu config & selective merge of UFS public release hotfix to develop (fixes problem with MPI_Comm_Split in openmpi when hash is negative) #43

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
2 changes: 1 addition & 1 deletion src/conf/module-setup.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ elif [[ -L /usrx && "$( readlink /usrx 2> /dev/null )" =~ dell ]] ; then
fi
module purge
elif [[ -d /glade ]] ; then
# We are on NCAR Cheyenne
# We are on NCAR Cheyenne
if ( ! eval module help > /dev/null 2>&1 ) ; then
. /glade/u/apps/ch/modulefiles/default/localinit/localinit.sh
fi
Expand Down
7 changes: 7 additions & 0 deletions src/incmake/env/rdhpcs/hera.gnu.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MACHINE_ID=hera
FULL_MACHINE_ID=hera
USE_MODULES=YES
DEFAULT_MODULE=$(FULL_MACHINE_ID)/ESMF_NUOPC
BUILD_TARGET=$(FULL_MACHINE_ID).$(NEMS_COMPILER)
NEMS_COMPILER=gnu
MODULE_LOGIC=$(call ULIMIT_MODULE_LOGIC,200000)
2 changes: 1 addition & 1 deletion src/module_NEMS_Rusage.F90
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ subroutine color_by_hash(name,namelen,commin,comm_name,comm_hosts,rank_world,ier
c_name1(1) = ctry(itry:itry)
c_length=namelen+1
c_error=-999
c_crc32c=nems_c_crc32(c_name1,c_length,c_error)
c_crc32c=abs(nems_c_crc32(c_name1,c_length,c_error))
if(c_error/=0) then
! Should never get here. This indicates the name is
! empty or beyond 2**31-3 bytes.
Expand Down