Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
de5a39d4
Commit
de5a39d4
authored
16 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add configuration option to control if we want to load .login for
sbatch --get-user-env option
parent
9bbf5339
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
auxdir/Makefile.am
+1
-0
1 addition, 0 deletions
auxdir/Makefile.am
auxdir/x_ac_env.m4
+36
-0
36 additions, 0 deletions
auxdir/x_ac_env.m4
auxdir/x_ac_iso.m4
+0
-3
0 additions, 3 deletions
auxdir/x_ac_iso.m4
configure.ac
+4
-0
4 additions, 0 deletions
configure.ac
with
41 additions
and
3 deletions
auxdir/Makefile.am
+
1
−
0
View file @
de5a39d4
...
@@ -15,6 +15,7 @@ EXTRA_DIST = \
...
@@ -15,6 +15,7 @@ EXTRA_DIST = \
x_ac_cflags.m4
\
x_ac_cflags.m4
\
x_ac_debug.m4
\
x_ac_debug.m4
\
x_ac_elan.m4
\
x_ac_elan.m4
\
x_ac_env.m4
\
x_ac_federation.m4
\
x_ac_federation.m4
\
x_ac_gpl_licensed.m4
\
x_ac_gpl_licensed.m4
\
x_ac_iso.m4
\
x_ac_iso.m4
\
...
...
This diff is collapsed.
Click to expand it.
auxdir/x_ac_env.m4
0 → 100644
+
36
−
0
View file @
de5a39d4
##*****************************************************************************
# AUTHOR:
# Morris Jette <jette1@llnl.gov>
#
# SYNOPSIS:
# X_AC_ENV_LOGIC
#
# DESCRIPTION:
# Test for how user's environment should be loaded for sbatch's
# --get-user-env option (as used by Moab)
##*****************************************************************************
AC_DEFUN([X_AC_ENV_LOGIC], [
AC_MSG_CHECKING([whether sbatch --get-user-env option should load .login])
AC_ARG_ENABLE(
[env_with_login],
AS_HELP_STRING(--disable_env_with_login,disable loading .login with sbatch --get-user-env option),
[ case "$enableval" in
yes) x_ac_env_with_login=yes ;;
no) x_ac_env_with_login=no ;;
*) AC_MSG_RESULT([doh!])
AC_MSG_ERROR([bad value "$enableval" for --enable_env_with_login]) ;;
esac
],
[x_ac_env_with_login=yes]
)
if test "$x_ac_env_with_login" = yes; then
AC_MSG_RESULT([yes])
AC_DEFINE(LOAD_ENV_WITH_LOGIN,,
[define whether sbatch --get-user-env option should load .login])
else
AC_MSG_RESULT([no])
fi
])
This diff is collapsed.
Click to expand it.
auxdir/x_ac_iso.m4
+
0
−
3
View file @
de5a39d4
...
@@ -7,9 +7,6 @@
...
@@ -7,9 +7,6 @@
#
#
# DESCRIPTION:
# DESCRIPTION:
# Test for ISO compliant time support.
# Test for ISO compliant time support.
#
# WARNINGS:
# This macro must be placed after AC_PROG_CC or equivalent.
##*****************************************************************************
##*****************************************************************************
AC_DEFUN([X_AC_ISO], [
AC_DEFUN([X_AC_ISO], [
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
4
−
0
View file @
de5a39d4
...
@@ -96,6 +96,10 @@ dnl
...
@@ -96,6 +96,10 @@ dnl
dnl Check for ISO compliance
dnl Check for ISO compliance
X_AC_ISO
X_AC_ISO
dnl
dnl Check if we want to load .login with sbatch --get-user-env option
X_AC_ENV_LOGIC
dnl Checks for types.
dnl Checks for types.
dnl
dnl
X_AC_SLURM_BIGENDIAN
X_AC_SLURM_BIGENDIAN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment