Skip to content

Commit

Permalink
Merge pull request #444 from jedwards4b/fix/symbolsincompsetname
Browse files Browse the repository at this point in the history
fixes an issue with symbols in compset names on derecho
  • Loading branch information
jedwards4b committed Mar 28, 2024
2 parents bfdc85b + a641b0a commit e884e50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cime_config/buildexe
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,12 @@ def _main_func():
# always relink
if os.path.isfile(exename):
os.remove(exename)

exename = os.path.relpath(exename, bld_root)
cmd = "{} exec_se -j {} EXEC_SE={} COMP_NAME=driver {} -f {} "\
.format(gmake, gmake_j, exename, gmake_args, makefile)

pio = os.environ.get("PIO")
if pio:
os.environ["PIO_LIBDIR"] = os.path.join(pio,"lib")

rc, out, err = run_cmd(cmd,from_dir=bld_root)
expect(rc==0,"Command {} failed rc={}\nout={}\nerr={}".format(cmd,rc,out,err))
Expand Down

0 comments on commit e884e50

Please sign in to comment.