ERROR Template recursion error - this should not be reachable.

19 views
Skip to first unread message

Esra

unread,
Dec 4, 2017, 1:26:22 PM12/4/17
to Salvus
Hi again,

I am trying to run simulations for polynomial order 5 but I am getting the following error 'Template recursion error - this should not be reachable.'. I was able to run for polynomial order 4. Do you have an idea about the problem?

Regards

Michael Afanasiev

unread,
Dec 4, 2017, 1:43:53 PM12/4/17
to Esra, Salvus
Hello,

This is likely because Salvus by default is compiled for polynomial order 4. You can see which orders salvus is compiled for by inspecting the header that's printed out whenever you fire up a simulation, e.g.

====================================================
Salvus version 0.0.1-752-gd467671d-dirty
Floating point size: 64
Compiled for GLL orders: 4
Running on 1 rank(s).
====================================================

If you want to run simulations for other orders, you'll need to pass these to cmake before you compile. To compile for orders 4 and 5, it should be enough to switch to the build directory and run

cmake ../ -DGLL_ORDERS=4,5

and then make. Note that the tests in the version currently online are meant for order 4.

Let us know if this fixes the issue.

Cheers,
Mike.

--
You received this message because you are subscribed to the Google Groups "Salvus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salvus+un...@googlegroups.com.
To post to this group, send email to sal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salvus/eca2cdcf-8b1d-47f6-86ee-20f66a2d8512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Esra

unread,
Dec 5, 2017, 5:38:27 AM12/5/17
to Salvus
Hi Mike,

It seems it didn't work. After I write ''cmake ../ -DGLL_ORDERS=4,5'' under build directory. It gives;

-- Autogenerating template instantiations
-- Done autogenerating template instantiations
-- salvus_flow will not be installed as some dependencies are missing: tqdm, redis, flask, celery, click, paramiko, arrow
-- Configuring done
-- Generating done
-- Build files have been written to: /export/data/salvus/salvus/build

It still uses 4 GLL orders. Do you have an idea about the problem?

====================================================
Salvus version 0.0.1-971-g7e3a088
Floating point size: 32
Compiled for GLL orders: 4
Running on 4 rank(s).
====================================================

Cheers

Esra

4 Aralık 2017 Pazartesi 19:43:53 UTC+1 tarihinde Michael Afanasiev yazdı:
Hello,

This is likely because Salvus by default is compiled for polynomial order 4. You can see which orders salvus is compiled for by inspecting the header that's printed out whenever you fire up a simulation, e.g.

====================================================
Salvus version 0.0.1-752-gd467671d-dirty
Floating point size: 64
Compiled for GLL orders: 4
Running on 1 rank(s).
====================================================

If you want to run simulations for other orders, you'll need to pass these to cmake before you compile. To compile for orders 4 and 5, it should be enough to switch to the build directory and run

cmake ../ -DGLL_ORDERS=4,5

and then make. Note that the tests in the version currently online are meant for order 4.

Let us know if this fixes the issue.

Cheers,
Mike.
On Dec 4, 2017, at 7:26 PM, Esra <esra.g...@gmail.com> wrote:

Hi again,

I am trying to run simulations for polynomial order 5 but I am getting the following error 'Template recursion error - this should not be reachable.'. I was able to run for polynomial order 4. Do you have an idea about the problem?

Regards

--
You received this message because you are subscribed to the Google Groups "Salvus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salvus+unsubscribe@googlegroups.com.

Michael Afanasiev

unread,
Dec 5, 2017, 5:49:14 AM12/5/17
to Esra, Salvus
Hi Esra,

It looks to me like you just reconfigured, and did not recompile. To recompile you have to re-run the ‘make’ command in the build directory. When this completes successfully, you should have access to GLL orders 4 and 5.

Best,
Mike.

To unsubscribe from this group and stop receiving emails from it, send an email to salvus+un...@googlegroups.com.

To post to this group, send email to sal...@googlegroups.com.

Esra

unread,
Dec 5, 2017, 6:28:00 AM12/5/17
to Salvus
Hi Mike,

It worked, thanks!

Esra

5 Aralık 2017 Salı 11:49:14 UTC+1 tarihinde Michael Afanasiev yazdı:
Mike.

Reply all
Reply to author
Forward
0 new messages