Skip to content

Nosetests on Mac fail #2392

@ChrisBNEU

Description

@ChrisBNEU

Bug Description

After PR #2364, on Mac os exclusively, running make test produces a segmentation fault:

mkdir -p testing/coverage
rm -rf testing/coverage/*
nosetests --nocapture --nologcapture --all-modules -A 'not functional' --verbose --with-coverage --cover-inclusive --cover-erase --cover-html --cover-html-dir=testing/coverage --exe rmgpy arkane
ERROR: make: *** [test] Segmentation fault: 11

How To Reproduce

install RMG as specified in our install guide following mac os instructions, then run make test

Expected Behavior

Expect it to run the unit tests

Installation Information

Describe your installation method and system information.

  • mac os catalina v10.15.7
    • Apple clang version 12.0.0 (clang-1200.0.32.2)
  • RMG version
    • RMG-Py commit: d46a43 (Mar 2)
    • RMG-database commit: f058b7 (Mar 2)

Additional Context

When I comment out the code below from "reactors.py" I am able to run the unit tests:

# if __debug__:
#     try:
#         from os.path import dirname, abspath, join, exists
#         path_rms = dirname(dirname(dirname(abspath(__file__))))
#         from julia.api import Julia
#         jl = Julia(sysimage=join(path_rms,"rms.so")) if exists(join(path_rms,"rms.so")) else Julia(compiled_modules=False)
#         from pyrms import rms
#         from diffeqpy import de
#         from julia import Main 
#     except:
#         pass
# else:
try:
    from pyrms import rms
    from diffeqpy import de
    from julia import Main
except:
    pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions