<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic help run Fortran coarray programs with SLURM in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/help-run-Fortran-coarray-programs-with-SLURM/m-p/1178274#M6676</link>
    <description>&lt;P&gt;I'm using ifort and mpiifort 17.0.1. Previously I was able to run Fortran coarray programs with PBS. Now I need to use SLURM, and I cannot&amp;nbsp; adjust my old PBS scripts for this to work. I get lots of errors like this:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Error in system call pthread_mutex_unlock: Operation not permitted
    ../../src/mpid/ch3/channels/nemesis/netmod/tmi/tmi_poll.c:629
&lt;/PRE&gt;

&lt;P&gt;My coarray SLURM script is:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;#!/bin/bash

#SBATCH --nodes=2
#SBATCH --tasks-per-node=28
#SBATCH --time=00:30:00
#SBATCH -p test

EXE=testABW.x
export I_MPI_COLL_INTRANODE=pt2pt
module load intel/2017.01
cd $SLURM_SUBMIT_DIR
echo -genvall -genv -np ${SLURM_NTASKS} ./$EXE &amp;gt; xx14.conf
srun -N ${SLURM_NNODES} --nodelist=${SLURM_NODELIST} /bin/hostname &amp;gt; nodes
./$EXE
&lt;/PRE&gt;

&lt;P&gt;The executable and the Intel coarray distributed memory config file are created according to Intel's instructions:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/distributed-memory-coarray-fortran-with-the-intel-fortran-compiler-for-linux-essential"&gt;https://software.intel.com/en-us/articles/distributed-memory-coarray-fortran-with-the-intel-fortran-compiler-for-linux-essential&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Again, all that's changed is that I need to use SLURM instead of PBS. The executable hasn't changed.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 11:25:16 GMT</pubDate>
    <dc:creator>AShte</dc:creator>
    <dc:date>2017-09-06T11:25:16Z</dc:date>
    <item>
      <title>help run Fortran coarray programs with SLURM</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/help-run-Fortran-coarray-programs-with-SLURM/m-p/1178274#M6676</link>
      <description>&lt;P&gt;I'm using ifort and mpiifort 17.0.1. Previously I was able to run Fortran coarray programs with PBS. Now I need to use SLURM, and I cannot&amp;nbsp; adjust my old PBS scripts for this to work. I get lots of errors like this:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Error in system call pthread_mutex_unlock: Operation not permitted
    ../../src/mpid/ch3/channels/nemesis/netmod/tmi/tmi_poll.c:629
&lt;/PRE&gt;

&lt;P&gt;My coarray SLURM script is:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;#!/bin/bash

#SBATCH --nodes=2
#SBATCH --tasks-per-node=28
#SBATCH --time=00:30:00
#SBATCH -p test

EXE=testABW.x
export I_MPI_COLL_INTRANODE=pt2pt
module load intel/2017.01
cd $SLURM_SUBMIT_DIR
echo -genvall -genv -np ${SLURM_NTASKS} ./$EXE &amp;gt; xx14.conf
srun -N ${SLURM_NNODES} --nodelist=${SLURM_NODELIST} /bin/hostname &amp;gt; nodes
./$EXE
&lt;/PRE&gt;

&lt;P&gt;The executable and the Intel coarray distributed memory config file are created according to Intel's instructions:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/distributed-memory-coarray-fortran-with-the-intel-fortran-compiler-for-linux-essential"&gt;https://software.intel.com/en-us/articles/distributed-memory-coarray-fortran-with-the-intel-fortran-compiler-for-linux-essential&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Again, all that's changed is that I need to use SLURM instead of PBS. The executable hasn't changed.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 11:25:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/help-run-Fortran-coarray-programs-with-SLURM/m-p/1178274#M6676</guid>
      <dc:creator>AShte</dc:creator>
      <dc:date>2017-09-06T11:25:16Z</dc:date>
    </item>
  </channel>
</rss>

