How about This Built of Escript

Asked by Jiadun Liu

Dear All,

Here is the summary of the configuration

*** Config Summary (see config.log and <prefix>/lib/buildvars for details) ***
Escript revision -2
  Install prefix: /nfs/home6/bwjliu/software/escript-finley
          Python: /hpc/sw/python-2.7.9/bin/python (Version 2.7.9)
           boost: /hpc/sw/boost-1.59.0-gnu (Version 1.59.0)
           numpy: YES (with headers)
            gmsh: YES
            gzip: YES
  Solver library: paso
   Direct solver: NONE
         domains: dudley, finley, ripley, speckley
           weipa: YES
          openmp: YES
           scipy: YES

  DISABLED features: boomeramg cppunit cuda debug gdal lapack mkl mpi netcdf papi parmetis pyproj silo sympy trilinos umfpack visit
  Treating warnings as errors

WARNING: Cannot import pyproj. Inversions may not work.
WARNING: Cannot import gdal. Inversions will not honour WKT coordinate system information.
WARNING: Cannot import sympy. Symbolic toolbox and nonlinear PDEs will not be available.

SUCCESS: build complete

Will these three warning affect the performance of Escript when it is used to solve LinearPDESystem?

Best regards,
Jiadun

Question information

Language:
English Edit question
Status:
Answered
For:
esys-escript Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jiadun Liu (liujiadun) said :
#2

Dear All,

It was built with SUCCESS:build complete.
However, when using scons -j 8 py_tests, erros were reported. How to solve this problem?

======================================================================
ERROR: test_Evaluator (run_symbolic.Test_SymbolicTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nfs/home6/bwjliu/software/escript-finley/escriptcore/test/python/run_symbolic.py", line 114, in test_Evaluator
    evaluated=evalu.evaluate(evalf=True)
  File "escriptcore/py_src/symbolic/evaluator.py", line 126, in evaluate
    res+=self.lambdas[i](*subslist),
  File "/home/bwjliu/.local/lib/python2.7/site-packages/sympy-1.0.1.dev0-py2.7.egg/sympy/utilities/lambdify.py", line 412, in wrapper
    return funcarg(*[namespace['asarray'](i) for i in argsx], **kwargsx)
  File "<string>", line 1, in <lambda>
  File "escriptcore/py_src/util.py", line 1027, in sin
    return numpy.sin(arg)
AttributeError: 'Mul' object has no attribute 'sin'

----------------------------------------------------------------------
Ran 365 tests in 50.259s

FAILED (errors=1)
Post-launch command: ""
scons: *** Error 1
scons: *** [build/posix/escriptcore/test/python/run_symbolic.passed] Error 1
scons: building terminated because of errors.

*** Config Summary (see config.log and <prefix>/lib/buildvars for details) ***
Escript revision -2
  Install prefix: /nfs/home6/bwjliu/software/escript-finley
          Python: /hpc/sw/python-2.7.9/bin/python (Version 2.7.9)
           boost: /hpc/sw/boost-1.59.0-gnu (Version 1.59.0)
           numpy: YES (with headers)
            gmsh: YES
            gzip: YES
  Solver library: paso
   Direct solver: NONE
         domains: dudley, finley, ripley, speckley
           weipa: YES
          openmp: YES
            gdal: YES
          pyproj: YES
           scipy: YES
           sympy: YES

  DISABLED features: boomeramg cppunit cuda debug lapack mkl mpi netcdf papi parmetis silo trilinos umfpack visit
  Treating warnings as errors

ERROR: build stopped due to errors

Best regards,
Jiadun

Revision history for this message
Joel Fenwick (j-fenwick1) said :
#3

Greetings Jiadun,
     the config output shows
Escript revision -2
     could you tell us which version of the source your are compiling please?
Also, which version of numpy you have installed?

Thanks
Joel

Revision history for this message
Jiadun Liu (liujiadun) said :
#4

Hi Joel,

1) escript-finley 5065

2)
Numpy version

>>> import numpy
>>> numpy.version.version
'1.11.0'

Thanks,
Jiadun

Revision history for this message
Joel Fenwick (j-fenwick1) said :
#5

Hello again,
    my appologies that I've taken so long to respond to this.
Does a more recent version of escript still have this problem?
[The current released version is 5.0 with revision number > 6000]

Thanks
Joel

Revision history for this message
Jiadun Liu (liujiadun) said :
#6

Hi Joel,

Thank you for your reply.
The Recent revision that I can download from bzr branch lp:escript-finley is 5079

bwjliu@P34791:~$ rm -r escript-finley/
bwjliu@P34791:~$ bzr branch lp:escript-finley
Branched 5079 revisions.

So a new question is where to download the code with revision number > 6000:)

Best regards,
Jiadun

Revision history for this message
Joel Fenwick (j-fenwick1) said :
#7

Hmmm, it seems my view of revision numbers is not the same as bzr's.
I'll continue to investigate.

Revision history for this message
Joel Fenwick (j-fenwick1) said :
#8

I've done a test build on the version released as 5.0 (ie via the launchpad download link).

I have the following versions of packages installed:
sympy-1.0
numpy-1.11.2
scipy-0.18.1

scons -j 10 build/posix/escriptcore/test/python/run_symbolic.passed

This configuaration seems to pass all but test_cdf_with_padding (run_datasources.TestNetCdfData).

Can you help with this problem?

Provide an answer of your own, or ask Jiadun Liu for more information if necessary.

To post a message you must log in.