First time here? Checkout the FAQ!
x
0 votes
by (190 points)

Dear Aurel,

     here is the error that I get now

-bash-4.2$ ./run.py --EP TT2 --duration 5000 --bcl 500 --ID exp01 --visualize --vis_var ICaL INa IK1

Traceback (most recent call last):

  File "./run.py", line 557, in <module>

    run()

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/tools.py", line 465, in wrapped

    print(settings.summary)

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/settings/settings.py", line 94, in summary

    return summary(self.config, self.execs, self.solver(), self.cli)

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/settings/summary.py", line 42, in summary

    if value is not nf(value):

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/settings/summary.py", line 40, in <lambda>

    nf = lambda s: '< NOT FOUND >' if s is None or not s.exists() else s

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/settings/paths.py", line 37, in exists

    return os.path.exists(str(self))

  File "/home/users/simone.scacchi/iSCAR/openCARP/external/carputils/carputils/settings/paths.py", line 43, in __str__

    return os.path.join(*self._parts)

  File "/gpfs/software/Python_Intel/2020_up4/intelpython3/lib/python3.7/posixpath.py", line 80, in join

    a = os.fspath(a)

TypeError: expected str, bytes or os.PathLike object, not NoneType

I send you also below the file setting.yaml
Thanks.
Ciao,
           Simone
# openCARP executables directory
# Specify as many alternative directories as you like, and use the key (e.g.
# 'CPU'/'GPU') with the --build flag on the command line to select which one
# to run with. Whether the build uses GPU or not is determined automatically.
CARP_EXE_DIR:
    CPU: /home/users/simone.scacchi/iSCAR/openCARP/_build/bin
# Other paths
#MESHALYZER_DIR: /home/users/simone.scacchi/software/meshalyzer
#LIMPETGUI_DIR:  /home/users/simone.scacchi/software/limpetgui
#MESH_DIR:       /home/users/simone.scacchi/software/meshes
#MESHTOOL_DIR:   /home/users/simone.scacchi/software/bin
# Execution settings and configuration defaults
# Some of these can be overridden on the command line
MPIEXEC:       mpiexec    # Affects desktop only
SILENT:        No         # choose Yes or No
VISUALIZE:     No         # visualization default (Yes, No)
FLAVOR:        petsc      # choose petsc, direct or pt
DIRECT_SOLVER: MUMPS      # choose MUMPS, SUPERLU_DIST or PASTIX
PURK_SOLVER:   GMRES      # choose GMRES, MUMPS, SUPERLU_DIST or PASTIX
PLATFORM:      desktop    # choose default hardware profile
BUILD:         CPU        # choose default CARP build (CPU, GPU)
# Regression testing settings
# The path to a directory containing the reference solution repositories
# (required):
REGRESSION_REF: /home/users/simone.scacchi/iSCAR/openCARP/external/experiments/regression-references
# Default packages to run tests from (can use the Python subpackage notation
# to select specific submodules, e.g. devtests.mechanics):
REGRESSION_PKG:  []
# Examples
#    - devtests
#    - benchmarks
#    - devtests.mechanics # Would cause duplication with full devtests above
# Uncomment the following line to control the location of temporary
# files generated by the regression testing framework. By default, temporary
# files are generated in your system /tmp
REGRESSION_TEMP: /home/users/simone.scacchi/iSCAR/openCARP/external/experiments/temp
# Uncomment to limit resources
# MAX_NP:      16         # set maximum number of processes
# Personal information
#EMAIL: you@example.com # Email for notifications
related to an answer for: settings.yaml

1 Answer

0 votes
by (8.0k points)

Hi!

I dont think that the following lines in your settings.yaml should be commented out:

#MESHALYZER_DIR: /home/users/simone.scacchi/software/meshalyzer
#LIMPETGUI_DIR:  /home/users/simone.scacchi/software/limpetgui
#MESH_DIR:       /home/users/simone.scacchi/software/meshes
#MESHTOOL_DIR:   /home/users/simone.scacchi/software/bin
Please try uncommenting them, even if they point to wrong paths, and rerun

Best, Aurel
by (190 points)
Dear Aurel,
   is works now!
    Thank you very much.
   Ciao,

         Simone
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], config: ["MMLorHTML.js"], jax: ["input/TeX"], processEscapes: true } }); MathJax.Hub.Config({ "HTML-CSS": { linebreaks: { automatic: true } } });
...