Molcas Forum

Support and discussions for Molcas and OpenMolcas users and developers

You are not logged in.

Announcement

Welcome to the Molcas forum.

Please note: The forum's URL has changed. The new URL is: https://molcasforum.univie.ac.at. Please update your bookmarks!

You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".

#1 2018-02-25 12:17:33

dpvalverde
Member
Registered: 2018-02-25
Posts: 5

[SOLVED] File in XField module

Hi everybody,

I am beginner in the Molcas program and I have one question. I saw in the manual that is possible to write a separate file containing the position and the charge distribution. This file can be called by the Xfield module, however, I am not getting. How to include a file at the Xfield module?

Best regards
Danillo

Offline

#2 2018-02-26 09:53:27

Ignacio
Administrator
From: Uppsala
Registered: 2015-11-03
Posts: 1,085

Re: [SOLVED] File in XField module

Just write:

XFIELD = <filename>

where "<filename>" is of course your filename, without the angle brackets. The only gotcha is that the file must be in the WorkDir.

Offline

#3 2018-02-26 11:19:27

nikolay
Member
From: Stuttgart
Registered: 2016-03-21
Posts: 54

Re: [SOLVED] File in XField module

To copy the file to what is called WorkDir one can use ">COPY" command.
Assuming the Xfield file is in the same directory as input, a working example is:

>COPY $CurrDir/<filename> $WorkDir/.
&gateway
...
Xfield
<filename>
...

Offline

#4 2018-02-26 14:18:31

Ignacio
Administrator
From: Uppsala
Registered: 2015-11-03
Posts: 1,085

Re: [SOLVED] File in XField module

Since commands are run from the WorkDir itself, it is enough with ">COPY $CurrDir/<filename> ."

Offline

#5 2018-03-26 06:36:40

dpvalverde
Member
Registered: 2018-02-25
Posts: 5

Re: [SOLVED] File in XField module

This flag in XField module worked.

Thanks,
Danillo

Offline

Board footer

Powered by FluxBB 1.5.11

Last refresh: Today 15:46:29