Skip to content

Segmentation fault... #35

Closed
Closed
@jiapei100

Description

@jiapei100

Ubuntu 18.04.1
Cuda 9.2
C++ 7.3.0
Python 3.6.5

nvidia/apex$ python setup.py install
Segmentation fault (core dumped)

Cheers
Pei

Activity

mcarilli

mcarilli commented on Aug 20, 2018

@mcarilli
Contributor

Are you using the most recent version of Apex? Top of tree apex is python-only, and the setup.py is extremely simple. If that's segfaulting, it's a strange issue.

wangdongxuking61

wangdongxuking61 commented on Sep 13, 2018

@wangdongxuking61

Ubuntu 18.04.1
Cuda 9.2
C++ 7.3.0
Python 3.6.5

nvidia/apex$ python setup.py install
Segmentation fault (core dumped)

Cheers
Pei

i have the same problem
try
pip install --upgrade setuptools
it helps for me

layumi

layumi commented on Mar 11, 2019

@layumi

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

patrick-g-zhang

patrick-g-zhang commented on Jan 27, 2020

@patrick-g-zhang

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

Thank you!

ann22

ann22 commented on Aug 8, 2020

@ann22

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

Does updating the gcc version affect other dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @jiapei100@mcarilli@layumi@wangdongxuking61@patrick-g-zhang

        Issue actions

          Segmentation fault... · Issue #35 · NVIDIA/apex