Skip to content

Running CMC-COSMIC on Ubuntu #40

Description

@Jay13inspace

Hi,

I am working with Jan (@JJEldridge) on getting the CMC-COSMIC code running. I was originally receiving the same error as Jan, (COSMIC-PopSynth/COSMIC#552) but managed to fix this by taking the dynamics_apply() function and moving it into the main file where it is being called. This fixed the original segmentation fault I was receiving while running the Plummer Sphere simulation. I was unfortunately not able to find a way to have the function outside of the main file and have been running all the current simulations with this function in there.

I am able to run the King Profile simulation with 60,000 stars but I get the segmentation fault again when attempting to run with 70,000 stars.

I am running this on Ubuntu 20.04 with 8GB memory, 4GB swap memory, and 8 cores.

Is there any way of getting this to run on this system without inserting the dynamics_apply() function into the main file? Or does it require a higher power computer?

I am using the line "mpirun -np 4 ../CMC/bin/cmc KingProfile.ini king" to run the program.

Thanks,
Jason Sampson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions