Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] ompi + bash + GE + modules
From: Edmund Sumbar (esumbar_at_[hidden])
Date: 2012-01-11 12:52:18


Hi Mark,

Have you tried adding -l to the #! line?

#!/bin/bash -l

On Wed, Jan 11, 2012 at 10:42 AM, Mark Suhovecky <suhovecky_at_[hidden]> wrote:

> #!/bin/bash
> #$ <some GE directives>
>
> module load ompi
>
> mpiexec
>
> when the mpiexec is run, we'll see the following errors
>
>
> bash: module: line 1: syntax error: unexpected end of file
> bash: error importing function definition for `module'
>

-- 
Edmund Sumbar
Research Computing Support
University of Alberta
+1 780 492 9360