picongpu icon indicating copy to clipboard operation
picongpu copied to clipboard

OSX: GNU getopt

Open ax3l opened this issue 7 years ago • 2 comments

On OSX one needs the GNU getopt to let pic-create and pic-build work.

We somehow have to abstract this properly: https://stackoverflow.com/a/37485578/2719194

Manual Work-around

  • brew install gnu-getopt
  • pic-create, pic-configure: getopt -> /usr/local/Cellar/gnu-getopt/1.1.6/bin/getopt (or PATH to /usr/local/Cellar/gnu-getopt/1.1.6/bin/ in picongpu.profile)

ax3l avatar Mar 05 '18 03:03 ax3l

Solvable via spack packaging when depending on util-linux: http://frodo.looijaard.name/project/getopt

ax3l avatar Mar 05 '18 06:03 ax3l

This is still an issue. I ran into issues using picmi -> pic-create on OS X today.

PrometheusPi avatar Aug 15 '25 18:08 PrometheusPi