Skip to content

Commit

Permalink
Merge branch 'develop' of git.nic.uoregon.edu:/gitroot/xpress-apex in…
Browse files Browse the repository at this point in the history
…to develop
  • Loading branch information
khuck committed Dec 3, 2024
2 parents cde877d + 18236ff commit 76cecfd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/apex/apex_opencl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
#include <deque>
#include <mutex>
#include <condition_variable>
#ifdef APEX_HAVE_OTF2
#include "otf2_listener.hpp"
#endif

namespace apex {
namespace opencl {
Expand Down
6 changes: 5 additions & 1 deletion src/scripts/apex_exec
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ if [ $apple = 1 ]; then
if [ $# -gt 1 ] ; then
echo "settings set target.run-args ${*:2}" >> ${gdbcmds}
fi
debugger="lldb -s ./.gdbcmds --"
debugger="lldb -s ${gdbcmds} --"
else
export DYLD_LIBRARY_PATH=${APEX_LD_LIBRARY_PATH}
export DYLD_INSERT_LIBRARIES=${APEX_LD_PRELOAD}
Expand Down Expand Up @@ -882,6 +882,10 @@ if [[ "$long_metrics" == *"$delim"* ]]; then
else
#echo "${myrank} Executing with metrics: \"${APEX_PAPI_METRICS}\", writing to ${APEX_OUTPUT_FILE_PATH}"
#echo "apex_exec executing: ${debugger} ${PARAMS}"
if [ "${verbose}" == "yes" ] ; then
echo "${gdbcmds}:"
cat ${gdbcmds}
fi
${debugger} ${PARAMS}
retval=$?
unset LD_PRELOAD
Expand Down

0 comments on commit 76cecfd

Please sign in to comment.