Skip to content

Compiling issue for M1 Macbook Pro #1

@vijaychoyal26

Description

@vijaychoyal26

when compiling LAMMPS with a rosetta enabled terminal, getting the following error
Undefined symbols for architecture x86_64:
"_aenet_Rc_max", referenced from:
LAMMPS_NS::PairAenet::init_style() in pair_aenet.o
"_aenet_all_loaded", referenced from:
LAMMPS_NS::PairAenet::init_style() in pair_aenet.o
"_aenet_atomic_energy_and_forces", referenced from:
LAMMPS_NS::PairAenet::compute(int, int) in pair_aenet.o
"_aenet_final", referenced from:
LAMMPS_NS::PairAenet::~PairAenet() in pair_aenet.o
"_aenet_init", referenced from:
LAMMPS_NS::PairAenet::init_style() in pair_aenet.o
"_aenet_load_potential", referenced from:
LAMMPS_NS::PairAenet::init_style() in pair_aenet.o
ld: symbol(s) not found for architecture x86_64

I am using the exact same versions for aenet, lammps as those given on the GitHub tutorial (aenet-2.0.4 and lammps 4feb20). I switched to rosetta terminal since aenet was only able to compile on that terminal. Has anyone faced a similar problem and/or have a solution for the same?

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