<div dir="auto"><div>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 <br><a href="https://stackoverflow.com/questions/32781476/linux-how-to-solve-word-too-long-in-suse10-os">https://stackoverflow.com/questions/32781476/linux-how-to-solve-word-too-long-in-suse10-os</a> 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:<div dir="auto"><br><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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.)</div><div dir="auto"><br></div><div dir="auto">Some other links of perhaps relevance are</div><div dir="auto"><a href="https://serverfault.com/questions/163371/linux-command-line-character-limit">https://serverfault.com/questions/163371/linux-command-line-character-limit</a></div><div dir="auto"><br></div><div dir="auto"><a href="https://community.hpe.com/t5/General/Maximum-Length-of-a-UNIX-ksh-csh-Command-Line/td-p/5018128#.XQNQ1Gko96g">https://community.hpe.com/t5/General/Maximum-Length-of-a-UNIX-ksh-csh-Command-Line/td-p/5018128#.XQNQ1Gko96g</a> , which also mentions the kernel parameter <span style="background-color:rgb(255,255,255);font-family:"metric medium",arial,sans-serif;font-size:16px">LINE_MAX _SC_LINE_MAX</span></div><div dir="auto"><span style="background-color:rgb(255,255,255);font-family:"metric medium",arial,sans-serif;font-size:16px"><br></span></div><div dir="auto"><span style="background-color:rgb(255,255,255);font-family:"metric medium",arial,sans-serif;font-size:16px">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.</span></div><div dir="auto"><br><br><div data-smartmail="gmail_signature" dir="auto">_____<br>Professor Laurence Marks<br>"Research is to see what everybody else has seen, and to think what nobody else has thought", Albert Szent-Gyorgi<br><a href="http://www.numis.northwestern.edu">www.numis.northwestern.edu</a></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2019, 08:25 Peter Blaha <<a href="mailto:pblaha@theochem.tuwien.ac.at">pblaha@theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm aware of the basic problem.<br>
<br>
The point is:<br>
<br>
Ubuntu (any other Linux system ??) does not set this link making csh and <br>
tcsh the same.<br>
<br>
Should we therefore change all scripts to /bin/tcsh   ???<br>
<br>
Would there be some Linux systems where this would introduce problems <br>
(with their default installations), for instance because a tcsh is NOT <br>
installed by default (while a csh is) ?<br>
<br>
If all Linux (Mac !!! ???) systems understand /bin/tcsh, this change <br>
would be fine with me.<br>
<br>
Any response from "Linux gurus" with experience with different Linux <br>
versions (I only have Suse and Redhat) would be appreciated.<br>
<br>
Peter<br>
<br>
On 6/14/19 9:02 AM, Gavin Abo wrote:<br>
> If you are not seeing the error, do you may have a system where csh is <br>
> symoblic link to tcsh like in the past post at:<br>
> <br>
> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
> <br>
> As mentioned in my past post at:<br>
> <br>
> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
> <br>
> The issue should be related to the long sed commands for "alias <br>
> update_makefiles" and perhaps also now "alias define_installdate".  I <br>
> think I did some testing and was able to test a partial fix with csh, <br>
> but I end up have to used many variable or something like that split the <br>
> sed command up.  I kind of gave up with that approach to fixing it when <br>
> I found I could just change csh to tcsh.<br>
> <br>
> <br>
> On 6/14/2019 12:43 AM, Peter Blaha wrote:<br>
>> This is a difficult problem, since it seems to be specific to Ubuntu <br>
>> and I cannot verify/reproduce/fix it on my Linux versions.<br>
>><br>
>> While the fix to change csh to tcsh (in the first line of <br>
>> siteconfig_lapw) is "trivial", I'd be more interested to "understand" <br>
>> and "fix" the   "word too long" problem in original csh.<br>
>><br>
>> For compatibility reasons I'm afraid to change  all headers from csh <br>
>> to tcsh in all our scripts, because it is rather unclear if we <br>
>> introduce problems on some Linux systems by that.<br>
>><br>
>> Regards<br>
>><br>
>> On 6/14/19 5:08 AM, Gavin Abo wrote:<br>
>>> FYI, if you encounter the 'Word too long' error when trying to <br>
>>> install 19.1 similar to 18.2 [1], I placed my siteconfig_lapw.patch <br>
>>> for 19.1 at [2].<br>
>>><br>
>>> [1] <br>
>>> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
>>><br>
>>> [2] <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
>>><br>
>>> _______________________________________________<br>
>>> Wien mailing list<br>
>>> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
>>> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
>>> SEARCH the MAILING-LIST at: <br>
>>> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
>><br>
> <br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
> SEARCH the MAILING-LIST at:  <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
> <br>
<br>
-- <br>
<br>
                                       P.Blaha<br>
--------------------------------------------------------------------------<br>
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna<br>
Phone: +43-1-58801-165300             FAX: +43-1-58801-165982<br>
Email: <a href="mailto:blaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">blaha@theochem.tuwien.ac.at</a>    WIEN2k: <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
WWW:   <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
--------------------------------------------------------------------------<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
SEARCH the MAILING-LIST at:  <a href="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=" rel="noreferrer noreferrer" target="_blank">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=</a><br>
</blockquote></div></div></div>