problem with MAKE on mac os x 10.6.8

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
federicoqb
Posts: 2
Joined: Wed Jan 22, 2014 10:32 am

problem with MAKE on mac os x 10.6.8

Post by federicoqb » Wed Jan 22, 2014 12:03 pm

Hi,
i'm really new at ABINIT 7.6.1. i have a Mac Os X 10.6.8, i configured the program (../configure) but when i want to take the "make" it gives this error.

make all-recursive
Making all in fallbacks
make fox
The build of fox has been disabled
Checking build of fox fallback
test -e stamps/fox-install-stamp
make libxc
The build of libxc has been disabled
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make linalg
The build of linalg has been disabled
Checking build of linalg fallback
test -e stamps/linalg-install-stamp
make netcdf
The build of netcdf has been disabled
Checking build of netcdf fallback
test -e stamps/netcdf-install-stamp
make atompaw
The build of atompaw has been disabled
Checking build of atompaw fallback
test -e stamps/atompaw-install-stamp
make etsf_io
The build of etsf_io has been disabled
Checking build of etsf_io fallback
test -e stamps/etsf_io-install-stamp
make wannier90
The build of wannier90 has been disabled
Checking build of wannier90 fallback
test -e stamps/wannier90-install-stamp
make bigdft
The build of bigdft has been disabled
Checking build of bigdft fallback
test -e stamps/bigdft-install-stamp
Making all in src
Making all in incs
There is no buildable file here
Making all in mods
There is no buildable file here
Making all in 01_interfaces_ext
gfortran -DHAVE_CONFIG_H -I. -I../../../src/01_interfaces_ext -I../.. -I../../src/incs -I../../../src/incs -I/Users/fides/Downloads/abinit-7.6.1 2/tmp-builddir/fallbacks/exports/include -ffree-form -J/Users/fides/Downloads/abinit-7.6.1 2/tmp-builddir/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -c -o m_iso_c_bindings.o ../../../src/01_interfaces_ext/m_iso_c_bindings.F90
gfortran: error: 2/tmp-builddir/fallbacks/exports/include: No such file or directory
gfortran: error: 2/tmp-builddir/src/mods: No such file or directory
make[3]: *** [m_iso_c_bindings.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

it's been 2 days and haven't found anything useful yet. would be great if someone could help.
thanks a lot

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: problem with MAKE on mac os x 10.6.8

Post by pouillon » Thu Jan 23, 2014 6:22 pm

I'm not completely sure, but it looks like you have a buggy mkdir command, which sometimes happen on Mac. A possible workaround is to use the gmkdir command instead. Could you pass the following option to configure and tell us whether it solves your problem?

Code: Select all

../configure ... (your options) ... MKDIR_P=/path/to/gmkdir
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

federicoqb
Posts: 2
Joined: Wed Jan 22, 2014 10:32 am

Re: problem with MAKE on mac os x 10.6.8

Post by federicoqb » Fri Jan 24, 2014 11:12 am

HI, thank you so much for your reply. but i can't even find the gmkdir. i tried also /opt/local/bin/gmkdir but it's not working.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: problem with MAKE on mac os x 10.6.8

Post by pouillon » Mon Jan 27, 2014 3:16 pm

You can also try with the install program. That would read:

Code: Select all

MKDIR_P="/path/to/install -m 755 -d"
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked