Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] ompi + bash + GE + modules
From: Mark Suhovecky (suhovecky_at_[hidden])
Date: 2012-01-11 13:12:30


Yeah, I've tried that. No difference. Our template .bash_profile sources
the user's .bashrc, so non-interactive bash shells in our setup are sourcing .bashrc.

The modules environment is defined, and works- only jonbs that run across multiple machines see this error.

Mark Suhovecky
HPC System Administrator
Center for Research Computing
University of Notre Dame
From: users-bounces_at_[hidden] [users-bounces_at_[hidden]] On Behalf Of Edmund Sumbar [esumbar_at_[hidden]]
Sent: Wednesday, January 11, 2012 12:52 PM
To: Open MPI Users
Subject: Re: [OMPI users] ompi + bash + GE + modules

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]<mailto:suhovecky_at_[hidden]>> wrote:
#$ <some GE directives>

module load ompi


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