Opened 12 years ago

Closed 12 years ago

#67 closed help (fixed)

skip_src_extract

Reported by: jonathan Owned by: jeff
Component: UM Model Keywords:
Cc: Platform:
UM Version:

Description

Setting SKIP_SRC_EXTRACT=true in my SUBMIT file doesn't appear to work (umui_jobs/xbdhu on puma). It still runs nupdate anyway. Have I made a silly mistake? I notice also that it doesn't do tar.gz of the compile directory (which is good because I don't like that!) although the SUBMIT file suggests it should, so maybe that is related.

Jonathan

Change History (2)

comment:1 Changed 12 years ago by jeff

  • Owner changed from um_support to jeff
  • Status changed from new to assigned

Hi Jonathan

I think the reason it doesn't do the tar.gz is you have set

SKIP_TAR_COMPDIR=true

in the umui. Can you give me access to look at the .leave file for this job?

Jeff.

comment:2 Changed 12 years ago by jeff

  • Resolution set to fixed
  • Status changed from assigned to closed

I think the reason it doesn't do the tar.gz is you have set
SKIP_TAR_COMPDIR=true

I have

SCRIPT:SKIP_TAR_COMPDIR=true
SUBMIT:SKIP_SRC_EXTRACT=true
SUBMIT:SKIP_TAR_COMPDIR=false

I hadn't noticed before that SKIP_TAR_COMPDIR is in both. Why? Which takes
priority?

You have defined SKIP_TAR_COMPDIR in umui panel

Sub-Model Independent → Scripts Inserts and Modifications

under "Define general use environment variables …"

This then goes into the SCRIPT file and is used later in the the submit job so takes priorty.

I've tracked down why SKIP_SRC_EXTRACT doesn't work, in qsmain it checks that Makefile exists to check the source code is there and sets SKIP_SRC_EXTRACT=false if it doesn't. Of course in 4.5 there is no file Makefile but files makefile.compile and makefile.link. I've put a fix in the standard mod $UMDIR/PUM_Input/vn4.5/mods/scripts/general/script_fix_ibm.mod, but you are using a famous version of this mod so Annette will need to change it. The two mods were identical.

Jeff.

Note: See TracTickets for help on using tickets.