[Users] Out-Dated Code Version Error

Roland Haas rhaas at illinois.edu
Thu Jan 14 11:03:32 CST 2021


Hello Karima,

this came up in today's ET call that you seem to have attended.

http://lists.einsteintoolkit.org/pipermail/users/2021-January/007737.html

it is related to the "Obtaining old releases via GetComponents again"
discussion but goes beyond that.

The thorn list pointed to by that link is indeed incorrect and seems to
have been corrupted when the Einstein Toolkit switched from using
subversion to git.

The old (uncorrupted) version is available in the old subversion
repository:

http://svn.einsteintoolkit.org/manifest/branches/ET_2010_06/einsteintoolkit.th

However using it will cause issues due to it using https transport and
the (no longer up to date) svn server at svn.cactuscode.org and
svn.einsteintoolkit.org using an outdated version of the SSL library
that will prevent new operating systems from contacting the server.

A workaround is to manually remove all https lines from the thorn list.
Ie:

Get the oncurrupted thorn list using plain http transport:

curl -klO http://svn.einsteintoolkit.org/manifest/branches/ET_2010_06/einsteintoolkit.th

edit the file to remove all https urls:

sed 's/https:/http:/g' einsteintoolkit.th >einsteintoolkit-nohttps.th

get an old copy of GetComponents (there is no 2010_06 version):

curl -kLO https://github.com/gridaphobe/CRL/raw/ET_2011_05/GetComponents

use the edited copy with an old GetComponents and make it use not use any of the AUTH_URL settings (should be redundant but does not hurt):

./GetComponents --anonymous einsteintoolkit-nohttps.th

Some repositories may no longer exist (eg the aeithorns repository) so this may still fail eventually.

Please note that there is no guarantee at all that this old code will still compile with a modern compiler (at least without specifying options to make the modern compiler assume the same defaults as a compiler from around 2010 did). Certainly gcc 10 or newer will fail and already gcc newer than gcc 5 or 6 may have problems.

Yours,
Roland

> Hello,
> 
> There is a spinning single BH evolution example inside (Cactus Cactus/par/arXiv-1111.3344/kerr/by-a0.7.par) which is using the code version 2010. I am trying to simulate it using the newest version of the ETK with the only changes of refinement levels (reduced to 3) in the parameter file. It is giving some warnings and suggestions to change the out-dated parameters ( LapseAdvectionCoeff, ShiftAdvectionCoeff) along with the boundary condition to set as usual (what it means?). I also tried using the suggested parameters, but the data output is not as expected (incomplete output data), probably because of these out-dated parameters (?), the output and the error files are attached. I am asking if there are any alternatives (solutions) to these parameters, or should I prefer using the old ETK version, 2010?  In the latter case, I am again encountering the download error,  pasted below. Likewise, I want to get around this issue as well. I assume this email contains multi issues, but they are co-related, sorry to put them in one post.
> 
> 
> ./GetComponents --parallel https://urldefense.com/v3/__https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2010_06/einsteintoolkit.th__;!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORYP9QSta$ <https://urldefense.com/v3/__http://einsteintoolkit.th/__;!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORV5BJMIo$ >
> Note: I have tried without using the "--parallel option"  as well, but the same error persists.
> 
> Error: No definition for ET_RELEASE found in input file or ENV.
> 
> 
> 
> ---------------------------------------------------------------------------
> CalledProcessError                        Traceback (most recent call last)
> <ipython-input-26-9fa64924ebf0> in <module>
> ----> 1 get_ipython().run_cell_magic('bash', '', './GetComponents https://urldefense.com/v3/__https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2010_06/einsteintoolkit.th*5Cn__;JQ!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORQtZW0Ik$ '<https://urldefense.com/v3/__https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2010_06/einsteintoolkit.th/n__;!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORYyh5V47$ '>)  
> 
> ~/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
>    2369             with self.builtin_trap:
>    2370                 args = (magic_arg_s, cell)
> -> 2371                 result = fn(*args, **kwargs)  
>    2372             return result
>    2373
> 
> ~/.local/lib/python3.8/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
>     140             else:
>     141                 line = script
> --> 142             return self.shebang(line, cell)  
>     143
>     144         # write a basic docstring:
> 
> <decorator-gen-110> in shebang(self, line, cell)
> 
> ~/.local/lib/python3.8/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
>     185     # but it's overkill for just that one bit of state.
>     186     def magic_deco(arg):
> --> 187         call = lambda f, *a, **k: f(*a, **k)  
>     188
>     189         if callable(arg):
> 
> ~/.local/lib/python3.8/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
>     243             sys.stderr.flush()
>     244         if args.raise_error and p.returncode!=0:
> --> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)  
>     246
>     247     def _run_script(self, p, cell, to_close):
> 
> CalledProcessError: Command 'b'./GetComponents https://urldefense.com/v3/__https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2010_06/einsteintoolkit.th*5Cn__;JQ!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORQtZW0Ik$ ''<https://urldefense.com/v3/__https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2010_06/einsteintoolkit.th/n__;!!DZ3fjg!sigvfgWGeQ0X7lHGuA-OW7uY9jnasKCJLBs5QhHGxlxe3jCIb5Ubj1iORYyh5V47$ ''> returned non-zero exit status 25.
> 
> 
> 
> Any kind of assistance would highly be appreciated and worthwhile.
> 
> 
> Thank you
> 
> 
> Best,
> 
> Karima S
> 


-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20210114/6d173c10/attachment.bin 


More information about the Users mailing list