In case anyone is interested, here is my solution to creating the mp_host_list

First install the very useful python-hostlist   
https://www.nsc.liu.se/~kent/python-hostlist/
Then use the hostlist command to output the mp_host_list
The syntax is a bit convoluted but it works (under bach)

mp_host_list=$(hostlist  --append-slurm-tasks=$SLURM_TASKS_PER_NODE  -d -e -p 
[\' -a \',  -s ], $SLURM_NODELIST)
# put the keyword string on mp_host_list and add [ ] brackets . Need a second 
trailing bracket at the end
mp_host_list="mp_host_list=["${mp_host_list}"]]"
echo "${mp_host_list}">>abaqus_v6.env

Now to find the correct MPI incantation to get the darn thing running over 
Omnipath.
I forsee meetings at a crossroads at midnight and selling my soul to a shadowy 
figure....




-----Original Message-----
From: John Hearns [mailto:[email protected]]
Sent: 09 February 2017 12:03
To: slurm-dev <[email protected]>
Subject: [slurm-dev] Re: Abaqus with Slurm

Sean, much thankyou.
Guinness owed if I am ever in Temple Bar soon.

-----Original Message-----
From: Sean McGrath [mailto:[email protected]]
Sent: 09 February 2017 11:58
To: slurm-dev <[email protected]>
Subject: [slurm-dev] Re: Abaqus with Slurm


Hi,

We have slurm 16.05.4 and the latest version of Abaqus we use is 6.14. I 
remember running into a similar problem with Abaqus so I wrote some bad bash to 
populate the host list file; http://www.tchpc.tcd.ie/node/1261

The github script seems to be doing something similar but in a better way.

Yes, I too remember thinking it was poorly designed or implemented in Abaqus at 
that time too.

Regards

Sean

On Thu, Feb 09, 2017 at 03:16:09AM -0800, John Hearns wrote:

> I would guess quite a few sites are using Abaqus with Slurm. I would be 
> grateful for some pointers on the submission scripts for MPI parallel Abaqus 
> runs.
> I am setting up Abaqus version 6.14-1 on a system with Slurm 16.05 and an 
> Omnipath interconnect.
>
> Specifically I am using this script to create the mp_host_list and to
> add it to the abaqus_v6.env file
> https://github.com/nesi/hpc-workflows/blob/master/EnvironmentSetupScri
> pts/slurm_setup_abaqus-env.sh
>
> This just seems to go against the grain with me - Abaqus seems to be 'LSF 
> aware' and can create mp_host_list when run with LSF.
> Is Abaqus not more 'slurm aware' ??
> If the advice is 'use the 2016 version' then this advice will be hoisted 
> aboard.
>
> John H
> Any views or opinions presented in this email are solely those of the
> author and do not necessarily represent those of the company.
> Employees of XMA Ltd are expressly required not to make defamatory
> statements and not to infringe or authorise any infringement of
> copyright or any other legal right by email communications. Any such
> communication is contrary to company policy and outside the scope of
> the employment of the individual concerned. The company will not
> accept any liability in respect of such communication, and the
> employee responsible will be personally liable for any damages or
> other liability arising. XMA Limited is registered in England and
> Wales (registered no. 2051703). Registered Office: Wilford Industrial
> Estate, Ruddington Lane, Wilford, Nottingham, NG11 7EP

--
Sean McGrath M.Sc

Systems Administrator
Trinity Centre for High Performance and Research Computing Trinity College 
Dublin

[email protected]

https://www.tcd.ie/
https://www.tchpc.tcd.ie/

+353 (0) 1 896 3725
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of the company. Employees of XMA Ltd are 
expressly required not to make defamatory statements and not to infringe or 
authorise any infringement of copyright or any other legal right by email 
communications. Any such communication is contrary to company policy and 
outside the scope of the employment of the individual concerned. The company 
will not accept any liability in respect of such communication, and the 
employee responsible will be personally liable for any damages or other 
liability arising. XMA Limited is registered in England and Wales (registered 
no. 2051703). Registered Office: Wilford Industrial Estate, Ruddington Lane, 
Wilford, Nottingham, NG11 7EP
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of the company. Employees of XMA Ltd are 
expressly required not to make defamatory statements and not to infringe or 
authorise any infringement of copyright or any other legal right by email 
communications. Any such communication is contrary to company policy and 
outside the scope of the employment of the individual concerned. The company 
will not accept any liability in respect of such communication, and the 
employee responsible will be personally liable for any damages or other 
liability arising. XMA Limited is registered in England and Wales (registered 
no. 2051703). Registered Office: Wilford Industrial Estate, Ruddington Lane, 
Wilford, Nottingham, NG11 7EP

Reply via email to