[Nek5000-users] Running NekExamples

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Aug 2 10:59:59 CDT 2016


Good morning!

1) It looks like some Nek5000 files keep getting rebuilt each time I
> execute the above command, even if they have been built before.


Yes, this is intentional.  NekTests.py is used primarily for software
testing.  We want to ensure the tests are reproducible, so Nek5000 is built
from scratch every single time.

Regarding (2), could you set VERBOSE_TESTS="true" in your environment and
let us know what errors you see?

Sorry that VERBOSE_TESTS is currently undocumented; I will document it in
the README as soon as possible.

Best wishes,
Ron Rahaman

Argonne National Laboratory, Math and Computer Science Division
University of Chicago, Department of Computer Science

On Tue, Aug 2, 2016 at 10:06 AM, <nek5000-users at lists.mcs.anl.gov> wrote:

> Hello,
>
> I am trying to run a standalone Nek5000 Example. I have Nek5000 installed
> and I am following the Examples instructions from
> https://github.com/Nek5000/NekExamples
>
> When I try to run any particular example, using:
>
> python -m 'unittest' NekTests.ConjHt
>
> I face two issues:
>
> 1) It looks like some Nek5000 files keep getting rebuilt each time I
> execute the above command, even if they have been built before.
>
> 2) I always get an error:
>
> Successfully compiled nek5000!
> Running nek5000...
>     Using command "~/github/NekExamples/conj_ht/nek5000"
>     Using working directory "~/github/NekExamples/conj_ht"
>     Using .rea file "conj_ht"
>     Could not remove ~/github/NekExamples/conj_ht/conj_ht.sch: [Errno 2]
> No such file or directory: '~/github/NekExamples/conj_ht/conj_ht.sch'
> Could not successfully run nek5000! Caught error: [Errno 2] No such file
> or directory
>
> I tried looking through the Makefiles and the Python script but cannot see
> where the sch file is specified. Also, I tried creating a dummy sch file so
> that the build can find and remove it, but that didn't work either.
>
> Please advise on how I can resolve the errors.
>
>
> Thanks,
> K.N.Ramachandran
> Ph: 814-441-4279
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160802/45ab6158/attachment.html>


More information about the Nek5000-users mailing list