Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
185 stars 59 forks source link

Compile failing on MacOS 14.2.1 #630

Open donghoonkuk opened 9 months ago

donghoonkuk commented 9 months ago

I struggling to compile EPOCH on my MacBook but I have no idea how I can resolve error on the make step.

I install gfortran and mpich through brew but I don't get what's wrong in my make.

/Library/Developer/CommandLineTools/usr/bin/make MAKEFLAGS= COMPILER=gfortran -C ../SDF/FORTRAN mkdir -p obj mpifort -Iinclude -Iobj -Jinclude -o obj/MPI_CHECK src/mpi_version.f90 clang (LLVM option parsing): Unknown command line argument '-x86-pad-for-align=false'. Try: 'clang (LLVM option parsing) --help' clang (LLVM option parsing): Did you mean '--x86-slh-loads=false'? make[2]: [MPI_CHECK] Error 1 make[1]: [../SDF/FORTRAN/include/sdf.mod] Error 2 make: *** [commit] Error 2

Does anybody can help me to compile this code on my MacBook?

Thanks

Status-Mirror commented 9 months ago

Hey @donghoonkuk,

You aren't the first Mac user to recently tell us about compilation issues. Unfortunately I don't have a Mac so I can't help myself.

@keithbennett, are you still able to compile this code on a Mac?

Cheers, Stuart