-
Notifications
You must be signed in to change notification settings - Fork 564
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
WIP: Create new Astra/snl-arm ATDM env #6371
Conversation
…ing to Arm PL when testing MueLu. Under investigation.
…happier with that versus Arm-PL 19.2 currently.
Added nessesary files to support running with ctest -s driver and the ability to build and test on a compute node
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
cmake/std/atdm/arm/environment.sh
Outdated
@@ -0,0 +1,128 @@ | |||
################################################################################ | |||
# | |||
# Set up env on a ARM ATSE builds of Trilinos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar is a bit off here.
cmake/std/atdm/arm/environment.sh
Outdated
export ATDM_CONFIG_BUILD_COUNT=$ATDM_CONFIG_MAX_NUM_CORES_TO_USE | ||
# NOTE: Use as many build processes and there are cores by default. | ||
|
||
module purge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like you would want to do this earlier, to avoid clobbering any of the above environment variables (just in case), but it shouldn't matter too much, I suppose.
cmake/std/atdm/arm/environment.sh
Outdated
|
||
if [[ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ]] ; then | ||
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=$(($ATDM_CONFIG_MAX_NUM_CORES_TO_USE/2)) | ||
export OMP_NUM_THREADS=2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should think about ways to parameterize this in the future.
…rted systems (CDOFA-27) On the van1-tx2 machine 'stria', the sems get-platform file prints an error message. No sense in showing this error message in this context.
CC: @e10harvey As described in ATDV-312, we are moving to a workflow where were shared and review new Trilinos branches internally and once they are reviewed and cleaned up there, then we will create a token Trilinos PR to get that branches merged to the external Trilinos GitHub 'develop' branch. For that, we have taken this branch and pushed it to the internal GitLab repo and create MR: Therefore, I am closing this PR without merging and once the that internal branch is ready to go, we will open a new Trilinos Pull Request here. |
Add infrastructure to allow ATDM builds on arm machines
See CDOFA-27.
This PR replaces PR #5817 (which was @nmhamster's develop branch in his fork) ...