[Wien] run init_so_lapw non-interactively

Long Zhang lzhang7 at ameslab.gov
Mon Jun 23 07:41:54 CEST 2025


Dear Mikhail,

This solved my problem. Thanks for the help!

Best,
Long

On Wed, Jun 18, 2025 at 4:28 AM Mikhail Nestoklon <nestoklon at gmail.com>
wrote:

> Dear Long,
> There is always a workaround:
> $ EDITOR2=$EDITOR
> $ export EDITOR=cat
> $ echo -ne "\n\n\n\n\n" | init_so_lapw
> $ export EDITOR=$EDITOR2
>
> You may put desired input in echo command, or use sed to change
> case.inso in a more complex way. E.g.,  use 'sed -i "2s/^.\{2\}/ 6/"
> ${PWD##*/}.inso' (in bash, for csh ${PWD##*/} may fail) to change llmax in
> inso file, etc.
>
> Best,
> M.
>
>
> On Wed, 18 Jun 2025 at 09:28, Long Zhang via Wien <
> wien at zeus.theochem.tuwien.ac.at> wrote:
>
>> Dear WIEN2k users,
>>
>> Is there a way to run init_so_lapw in batch mode like the init_lapw?
>> I am trying to scan a group of structures, all with SOC. Doing
>> init_so_lapw one by one interactively would be too tedious.
>>
>> Thanks,
>> Long
>>
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>> SEARCH the MAILING-LIST at:
>> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:
> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20250623/40b9ebc2/attachment-0001.htm>


More information about the Wien mailing list