[Wien] WIEN2k Version 19.1

Laurence Marks laurence.marks at gmail.com
Fri Jun 14 10:06:05 CEST 2019


I did a little checking on the web, and this appears to be a not uncommon
issues, e.g. Google "csh word too long bug". The link at
https://stackoverflow.com/questions/32781476/linux-how-to-solve-word-too-long-in-suse10-os
and some others indirectly provide ways which could be used to determine
what the maximum allowed length is. It would be useful to work out if:

a) There are differences in the allowed length with OS. I would not be
surprised if there are, I expect that the maximum length is a csh/kernel
parameter set when csh is compiled. Since almost everyone will install a
pre-compiled version, they are at the mercy of Ubuntu/Red Hat/Apple etc.

b) The issue is related to other "stuff" embedded in the relevant variable
that is different in Ubuntu. (I am not sure what the "stuff" is, but by
comparing it should be possible to isolate and test this.)

Some other links of perhaps relevance are
https://serverfault.com/questions/163371/linux-command-line-character-limit

https://community.hpe.com/t5/General/Maximum-Length-of-a-UNIX-ksh-csh-Command-Line/td-p/5018128#.XQNQ1Gko96g
, which also mentions the kernel parameter LINE_MAX _SC_LINE_MAX

N.B., I don't think changing from csh to tcsh is the right approach for a
permanent fix. It hides the issue; even tcsh can have the same problem.
That said, tcsh does appear to be considered "better" and is supposed to be
backward compatible. One could always alias csh to tcsh and keep fingers
crossed (a hack, not a solution). If this works then change "csh" to
"w2ksh" and configure this -- if requested by the user.


_____
Professor Laurence Marks
"Research is to see what everybody else has seen, and to think what nobody
else has thought", Albert Szent-Gyorgi
www.numis.northwestern.edu


On Fri, Jun 14, 2019, 08:25 Peter Blaha <pblaha at theochem.tuwien.ac.at>
wrote:

> I'm aware of the basic problem.
>
> The point is:
>
> Ubuntu (any other Linux system ??) does not set this link making csh and
> tcsh the same.
>
> Should we therefore change all scripts to /bin/tcsh   ???
>
> Would there be some Linux systems where this would introduce problems
> (with their default installations), for instance because a tcsh is NOT
> installed by default (while a csh is) ?
>
> If all Linux (Mac !!! ???) systems understand /bin/tcsh, this change
> would be fine with me.
>
> Any response from "Linux gurus" with experience with different Linux
> versions (I only have Suse and Redhat) would be appreciated.
>
> Peter
>
> On 6/14/19 9:02 AM, Gavin Abo wrote:
> > If you are not seeing the error, do you may have a system where csh is
> > symoblic link to tcsh like in the past post at:
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_msg01979.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=ZuSAq673Zv9lKcTtgu0A92K1qZWrv-tSu27KE2vsQH0&e=
> >
> > As mentioned in my past post at:
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_msg17845.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=dF1wBNtpoTnv6QpLEdm6FAxtgu8nRCQRb8TaCumHdIw&e=
> >
> > The issue should be related to the long sed commands for "alias
> > update_makefiles" and perhaps also now "alias define_installdate".  I
> > think I did some testing and was able to test a partial fix with csh,
> > but I end up have to used many variable or something like that split the
> > sed command up.  I kind of gave up with that approach to fixing it when
> > I found I could just change csh to tcsh.
> >
> >
> > On 6/14/2019 12:43 AM, Peter Blaha wrote:
> >> This is a difficult problem, since it seems to be specific to Ubuntu
> >> and I cannot verify/reproduce/fix it on my Linux versions.
> >>
> >> While the fix to change csh to tcsh (in the first line of
> >> siteconfig_lapw) is "trivial", I'd be more interested to "understand"
> >> and "fix" the   "word too long" problem in original csh.
> >>
> >> For compatibility reasons I'm afraid to change  all headers from csh
> >> to tcsh in all our scripts, because it is rather unclear if we
> >> introduce problems on some Linux systems by that.
> >>
> >> Regards
> >>
> >> On 6/14/19 5:08 AM, Gavin Abo wrote:
> >>> FYI, if you encounter the 'Word too long' error when trying to
> >>> install 19.1 similar to 18.2 [1], I placed my siteconfig_lapw.patch
> >>> for 19.1 at [2].
> >>>
> >>> [1]
> >>>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_msg17866.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=QTs-houKO-yr0YaSWbtBdwmoHdg8xN2rAkU55W_dIco&e=
> >>>
> >>> [2]
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_gsabo_WIEN2k-2DPatches_tree_master_19.1&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=E8vvEt0rwTLbTI9LA7aSv_MRZXNfsJM5-Sh8h5Cic2w&e=
> >>>
> >>> _______________________________________________
> >>> Wien mailing list
> >>> Wien at zeus.theochem.tuwien.ac.at
> >>>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=GR-7FEj2sQz6q2UR_BnzjjzrlFUy4GyJs8zzTioxao0&e=
> >>> SEARCH the MAILING-LIST at:
> >>>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=Gx3KhhlA_VgexqlcnIcaWfldMg0x5JP2EioQDF_YJ_Y&e=
> >>
> >
> > _______________________________________________
> > Wien mailing list
> > Wien at zeus.theochem.tuwien.ac.at
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=GR-7FEj2sQz6q2UR_BnzjjzrlFUy4GyJs8zzTioxao0&e=
> > SEARCH the MAILING-LIST at:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=Gx3KhhlA_VgexqlcnIcaWfldMg0x5JP2EioQDF_YJ_Y&e=
> >
>
> --
>
>                                        P.Blaha
> --------------------------------------------------------------------------
> Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
> Phone: +43-1-58801-165300             FAX: +43-1-58801-165982
> Email: blaha at theochem.tuwien.ac.at    WIEN2k:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.wien2k.at&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=RBznwF4YllPpBv-ffKQrPVhxluuSe2UUdxL1voQRA58&e=
> WWW:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.imc.tuwien.ac.at_TC-5FBlaha&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=QlIAHBMr5SCPYse9Aesd3x38AOCWnZOnrc-y-B_4yxY&e=
> --------------------------------------------------------------------------
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=GR-7FEj2sQz6q2UR_BnzjjzrlFUy4GyJs8zzTioxao0&e=
> SEARCH the MAILING-LIST at:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwIGaQ&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=c9AHxmyv_IbqSkeu87c63dglK7oCEdjioAblN5-mMUM&s=Gx3KhhlA_VgexqlcnIcaWfldMg0x5JP2EioQDF_YJ_Y&e=
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20190614/882a1514/attachment.html>


More information about the Wien mailing list