Skip to content

compilation error  #9

@MingleiYang

Description

@MingleiYang

Hi,

Thank you very much for developing this great tools.

when I compile with the latest intel compiler, I came across these errors,

Singularity lamma7_intel.sandbox:/home/lammps/src> make DNA_mpi
Gathering installed package information (may take a little while)
make[1]: Entering directory /home/lammps/src' make[1]: lmpinstalledpkgs.h' is up to date.
Gathering git version information
make[1]: Leaving directory /home/lammps/src' Compiling LAMMPS for machine DNA_mpi make[1]: Entering directory /home/lammps/src/Obj_DNA_mpi'
make[1]: Leaving directory /home/lammps/src/Obj_DNA_mpi' make[1]: Entering directory /home/lammps/src/Obj_DNA_mpi'
mpicxx -g -O3 -Wextra -Wall -std=c++11 -restrict -xhost -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -c ../pair_born_coul_dsf.cpp
/opt/intel/oneapi/mpi/2021.5.1//bin/mpigxx: line 653: g++: command not found
make[1]: *** [pair_born_coul_dsf.o] Error 127
make[1]: Leaving directory `/home/lammps/src/Obj_DNA_mpi'
make: *** [DNA_mpi] Error 2

intel compiler did't have the g++ command, and actuallly intel c++ compiler used icpc.

i am wondering how to change this.

My best,

Ming

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