natefoo / slurm-drmaa

DRMAA for Slurm: Implementation of the DRMAA C bindings for Slurm
GNU General Public License v3.0
48 stars 22 forks source link

TRES slurm config settings cause errors #20

Closed fangpingmu closed 5 years ago

fangpingmu commented 5 years ago

drmaa-run bash test.drmaa drmaa-run: error: _parse_next_key: Parsing error at unrecognized key: PriorityWeightTRES drmaa-run: error: Parse error in file /etc/slurm/slurm.conf line 131: "PriorityWeightTRES=CPU=1000,Mem=2000 " drmaa-run: error: _parse_next_key: Parsing error at unrecognized key: AccountingStorageTRES drmaa-run: error: Parse error in file /etc/slurm/slurm.conf line 186: "AccountingStorageTRES=gres/gpu,gres/mic,gres/nvme" drmaa-run: error: Parsing error at unrecognized key: TresBillingWeights drmaa-run: error: Parse error in file /etc/slurm/slurm.conf line 196: " TresBillingWeights="CPU=1.0,Mem=0.127G"" drmaa-run: error: Unable to establish controller machine Segmentation fault

natefoo commented 5 years ago

What version of slurm-drmaa are you using? This should be fixed as of deca82632d2af686193e101127b02bdc47f7484f (which is on the Releases tab as a development release).

fangpingmu commented 5 years ago

The issue is solved. The slurm-drmaa links to /usr/lib instead of /usr/lib64.