[gpaw-users] Use setup outside of GPAW_SETUP_PATH directory?

William Parker wparker at anl.gov
Thu Dec 2 16:18:40 CET 2010


Thanks for the clarification.  One thing that threw me was the output of "gpaw -h":
    --setups=SETUPS     default=none

While this section also clarified that:
https://wiki.fysik.dtu.dk/gpaw/documentation/manual.html#type-of-setup-to-use

it would be nice to improve the description that comes at the command line.

On Dec 2, 2010, at 1:12 AM, Jens Jørgen Mortensen wrote:

> On Wed, 2010-12-01 at 14:42 -0600, William Parker wrote:
>> Hello,
>> 
>> Is there a way to tell GPAW to use a setup outside of the GPAW_SETUP_PATH directory?  Is this what the --setups option does from the command line?  I couldn't make it work for me nor could I find any clear indication in the documentation.
> 
> Yes, you can use --setups for that:
> 
> 
> https://wiki.fysik.dtu.dk/gpaw/documentation/manual.html#command-line-arguments
> 
> Alternatively, you can do it in your script:
> 
>    from gpaw import setup_paths
>    setup_paths.insert(0, '/path/to/your/setups')
> 
Is the script way of specifying the path in the documentation somewhere?

--William

> Jens Jørgen
> 
>> 
>> *********************************************************
>>  William D. Parker                 phone: (630) 252-1775
>>  Computational Postdoctoral Fellow   fax: (630) 252-4798
>>  MSD-212, Rm. C-215
>>  Argonne National Laboratory
>>  9700 S. Cass Ave.
>>  Argonne, IL 60439
>> *********************************************************
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> gpaw-users mailing list
>> gpaw-users at listserv.fysik.dtu.dk
>> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
> 







More information about the gpaw-users mailing list