[Nek5000-users] Running NekExamples

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Aug 2 13:58:34 CDT 2016


Hello,

Thank you for the reply. I had tried specifying the VERBOSE_TESTS as
mentioned earlier but I don't see any new command line output.

I am able to see that the VERBOSE_TESTS setting is picked up, i.e.

Getting setup options...
    Using F77="gfortran"
    Using CC="gcc"
    Using IFMPI="false"
    Using VERBOSE_TESTS="true"
    Using SOURCE_ROOT at ~/github/Nek5000
    Using EXAMPLES_ROOT at ~/github/NekExamples
    Using TOOLS_ROOT at ~/github/Nek5000/tools
    Using TOOLS_BIN at ~/github/Nek5000/bin

But I still get the same error message and output as before, i.e. that the
.sch file is not found and so the running process just stops. Any thoughts?




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

> 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
>>
>>
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>


-- 
K.N.Ramachandran
Ph: 814-441-4279
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160802/c1efd8a1/attachment.html>


More information about the Nek5000-users mailing list