Skip to Content.
Sympa Menu

opal - Re: [Opal] runopal: PathNameGenerator not found?

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] runopal: PathNameGenerator not found?

Chronological Thread  
  • From: "Adelmann Andreas (PSI)" <andreas.adelmann AT>
  • To: Philippe Piot <philippe.piot AT>
  • Cc: "opal AT" <opal AT>
  • Subject: Re: [Opal] runopal: PathNameGenerator not found?
  • Date: Wed, 29 Jun 2022 18:53:42 +0000
  • Accept-language: en-US, de-CH
  • Authentication-results:; iprev=pass ( smtp.remote-ip=; spf=pass; dmarc=skipped

Hi Philippe to me it seams like the PYTHONPATH is not set correctly. 
In case you have the pyOPALTools installed in :$HOME/git you should set


Hope that helps, 

Cheers A
Dr. sc. math. Andreas (Andy) Adelmann
Head a.i. Labor for Scientific Computing and Modelling 
Paul Scherrer Institut OHSA/ CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link:

Friday: ETH HPK G 28   +41 44 633 3076
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 

On 29 Jun 2022, at 18:15, Philippe Piot <philippe.piot AT> wrote:

  Could somebody let me know what I may be doing from here:
 from runOPAL import OpalRunner, SlurmJob 
 complains there is no PathNameGenerator module.

see below for log. Thank you very much. Best,  -- Philippe.

(base) [ppiot@beboplogin1 opal_example_test_Ian]$ python3
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from runOPAL import OpalRunner, SlurmJob
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lcrc/project/Bright-Beams/software/opal/runOPAL/runOPAL/", line 2, in <module>
    from .opaldict import OpalDict
  File "/lcrc/project/Bright-Beams/software/opal/runOPAL/runOPAL/", line 1, in <module>
    from PathNameGenerator import PathNameGenerator
ModuleNotFoundError: No module named 'PathNameGenerator'

Archive powered by MHonArc 2.6.19.

Top of Page