tapis-project / tapis-java

Texas Advanced Computing Center APIs
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Jobs: jobs fail to run if --tapis-profile not set in job def despite batchSchedulerProfile set in system def #40

Open Tyler-Clemens opened 2 years ago

Tyler-Clemens commented 2 years ago

This is occurring in the PROD environment.

The system that the job is using has the batchSchedulerProfile set as "tacc":

Screen Shot 2021-11-02 at 3 00 54 PM


Since the profile was already set in the system definition, the only schedulerOptions arg that was added to the job def was the account allocation. However, the job failed to load Singularity without providing a --tapis-profile arg:

Screen Shot 2021-11-02 at 3 17 27 PM Screen Shot 2021-11-02 at 3 02 59 PM



When --tapis-profile is set in schedulerOptions, the module was loaded properly:

Screen Shot 2021-11-02 at 3 01 37 PM Screen Shot 2021-11-02 at 3 02 14 PM