@@ -101,28 +101,29 @@ all()
101101 echo
102102 echo " This $version was built using the following compilers and flags:"
103103 echo
104- echo " --cc -> $C_COMPILER "
105- echo " --cppflags -> $CPPFLAGS "
106- echo " --cflags -> $CFLAGS "
107- echo " --ldflags -> $LDFLAGS "
108- echo " --libs -> $LIBS "
104+ echo " --cc -> $C_COMPILER "
105+ echo " --cppflags -> $CPPFLAGS "
106+ echo " --cflags -> $CFLAGS "
107+ echo " --ldflags -> $LDFLAGS "
108+ echo " --libs -> $LIBS "
109109 echo " "
110- echo " --pre-ld-flags -> $PRE_LD_FLAGS "
111- echo " --post-ld-flags -> $POST_LD_FLAGS "
112- echo " --dyn-ld-flags -> $DYN_LD_FLAGS "
113- echo " --log-path -> $DARSHAN_LOG_ALL "
110+ echo " --pre-ld-flags -> $PRE_LD_FLAGS "
111+ echo " --post-ld-flags -> $POST_LD_FLAGS "
112+ echo " --dyn-ld-flags -> $DYN_LD_FLAGS "
113+ echo " --log-path -> $DARSHAN_LOG_ALL "
114+ echo " --log-path-by-env -> $DARSHAN_LOG_ENV "
114115 echo " "
115- echo " --with- zlib-path -> $zlib_home "
116- echo " --with- mem-align -> $mem_align "
117- echo " --with- log-hints -> $log_hints "
118- echo " --with- jobid-env -> $jobid_env "
119- echo " --with- username-env -> $username_env "
120- echo " --with- mod-mem -> $mod_mem "
121- echo " --with- name-mem -> $name_mem "
122- echo " --with- hdf5 -> $hdf5_path "
123- echo " --with- pnetcdf -> $pnetcdf_path "
124- echo " --with- daos -> $daos_path "
125- echo " --with- ldms -> $ldms_path "
116+ echo " --zlib-path -> $zlib_home "
117+ echo " --mem-align -> $mem_align "
118+ echo " --log-hints -> $log_hints "
119+ echo " --jobid-env -> $jobid_env "
120+ echo " --username-env -> $username_env "
121+ echo " --mod-mem -> $mod_mem "
122+ echo " --name-mem -> $name_mem "
123+ echo " --hdf5-path -> $hdf5_path "
124+ echo " --pnetcdf-path -> $pnetcdf_path "
125+ echo " --daos-path -> $daos_path "
126+ echo " --ldms-path -> $ldms_path "
126127}
127128
128129# NOTE:
@@ -181,6 +182,8 @@ Available values for OPTION include:
181182 --post-ld-flags Linker flags for statically linking
182183 --dyn-ld-flags Linker flags for dynamically linking
183184 --log-path Storage locations of Darshan log files
185+ --log-path-by-env Comma separated list of environment variables to
186+ check for log path location
184187
185188 --ld-preload Whether LD_PRELOAD library is enabled
186189 --cuserid Whether cuserid() is used at run time
@@ -206,20 +209,19 @@ Available values for OPTION include:
206209 --exit-wrapper Whether to wrap _exit() calls as last ditch shutdown
207210 hook for the Darshan library when used in non-MPI mode
208211
209- --with-zlib Root directory path of zlib installation
210- --with-mem-align Memory alignment in bytes
211- --with-log-hints List of MPI-IO hints for log file write
212- --with-log-path Location to store log files at run time
213- --with-jobid-env Name of environment variable that stores the jobid
214- --with-username-env Name of environment variable that stores the username
215- --with-mod-mem Maximum runtime memory consumption per process (in
212+ --zlib-path Root directory path of zlib installation
213+ --mem-align Memory alignment in bytes
214+ --log-hints List of MPI-IO hints for log file write
215+ --jobid-env Name of environment variable that stores the jobid
216+ --username-env Name of environment variable that stores the username
217+ --mod-mem Maximum runtime memory consumption per process (in
216218 MiB) across all instrumentation modules
217- --with- name-mem Maximum runtime memory consumption per process (in
219+ --name-mem Maximum runtime memory consumption per process (in
218220 MiB) for storing name records
219- --with- hdf5 Installation directory for HDF5.
220- --with- pnetcdf Installation directory for PnetCDF.
221- --with- daos Installation directory for DAOS.
222- --with- ldms Root directory path of LDMS installation
221+ --hdf5-path Installation directory for HDF5.
222+ --pnetcdf-path Installation directory for PnetCDF.
223+ --daos-path Installation directory for DAOS.
224+ --ldms-path Root directory path of LDMS installation
223225
224226EOF
225227 exit $1
@@ -272,21 +274,22 @@ while test $# -gt 0; do
272274 --rdtscp) echo " $enable_rdtscp_num " ;;
273275 --exit-wrapper) echo " $enable_exit_wrapper " ;;
274276
275- --pre-ld-flags) echo " $PRE_LD_FLAGS " ;;
276- --post-ld-flags) echo " $POST_LD_FLAGS " ;;
277- --dyn-ld-flags) echo " $DYN_LD_FLAGS " ;;
278- --log-path) echo " $DARSHAN_LOG_ALL " ;;
279- --with-zlib-path) echo " $zlib_home " ;;
280- --with-mem-align) echo " $mem_align " ;;
281- --with-log-hints) echo " $log_hints " ;;
282- --with-jobid-env) echo " $jobid_env " ;;
283- --with-username-env) echo " $username_env " ;;
284- --with-mod-mem) echo " $mod_mem " ;;
285- --with-name-mem) echo " $name_mem " ;;
286- --with-hdf5) echo " $hdf5_path " ;;
287- --with-pnetcdf) echo " $pnetcdf_path " ;;
288- --with-daos) echo " $daos_path " ;;
289- --with-ldms) echo " $ldms_path " ;;
277+ --pre-ld-flags) echo " $PRE_LD_FLAGS " ;;
278+ --post-ld-flags) echo " $POST_LD_FLAGS " ;;
279+ --dyn-ld-flags) echo " $DYN_LD_FLAGS " ;;
280+ --log-path) echo " $DARSHAN_LOG_ALL " ;;
281+ --log-path-by-env) echo " $DARSHAN_LOG_ENV " ;;
282+ --zlib-path) echo " $zlib_home " ;;
283+ --mem-align) echo " $mem_align " ;;
284+ --log-hints) echo " $log_hints " ;;
285+ --jobid-env) echo " $jobid_env " ;;
286+ --username-env) echo " $username_env " ;;
287+ --mod-mem) echo " $mod_mem " ;;
288+ --with-name-mem) echo " $name_mem " ;;
289+ --hdf5-path) echo " $hdf5_path " ;;
290+ --pnetcdf-path) echo " $pnetcdf_path " ;;
291+ --daos-path) echo " $daos_path " ;;
292+ --ldms-path) echo " $ldms_path " ;;
290293 * )
291294 echo " unknown option: $1 "
292295 echo " "
0 commit comments