A request for help


Jump to page 1Prev 16
Clicked A Few Times
dhcp-10-68-187-96:~ marcogiampa$ which gfortran
/usr/local/bin/gfortran

dhcp-10-68-187-96:~ marcogiampa$ /usr/local/Cellar/gcc/7.2.0/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/local/Cellar/gcc/7.2.0/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/7.2.0/libexec/gcc/x86_64-apple-darwin16.7.0/7.2.0/lto-wrapper
Target: x86_64-apple-darwin16.7.0
Configured with: ../configure --build=x86_64-apple-darwin16.7.0 --prefix=/usr/local/Cellar/gcc/7.2.0 --libdir=/usr/local/Cellar/gcc/7.2.0/lib/gcc/7 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-7 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion='Homebrew GCC 7.2.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls
Thread model: posix
gcc version 7.2.0 (Homebrew GCC 7.2.0)

dhcp-10-68-187-96:~ marcogiampa$ ls -lrt /usr/local
total 0
drwxr-xr-x 3 marcogiampa wheel 102 1 Mag 2016 libexec
drwxr-xr-x 8 marcogiampa admin 272 24 Ott 2016 sbin
drwxr-xr-x 7 marcogiampa wheel 238 13 Feb 2017 gfortran
drwxr-xr-x 3 marcogiampa wheel 102 6 Mar 20:10 remotedesktop
drwxr-xr-x 3 marcogiampa admin 102 12 Ago 14:18 var
drwxrwxr-x 2 marcogiampa admin 68 13 Ago 12:40 Frameworks
drwxrwxr-x 17 marcogiampa admin 578 13 Ago 12:40 Homebrew
drwxr-xr-x 4 marcogiampa admin 136 13 Ago 12:41 etc
drwxr-xr-x 9 marcogiampa wheel 306 13 Ago 12:43 share
drwxr-xr-x 29 marcogiampa wheel 986 13 Ago 12:44 include
drwxr-xr-x 121 marcogiampa wheel 4114 13 Ago 12:44 lib
drwxrwxr-x 9 marcogiampa admin 306 13 Ago 15:06 Cellar
drwxrwxr-x 14 marcogiampa admin 476 16 Ago 08:09 opt
drwxr-xr-x 51 marcogiampa wheel 1734 16 Ago 14:15 bin

dhcp-10-68-187-96:~ marcogiampa$ ls -lrt /opt/local
ls: /opt/local: No such file or directory

Forum Vet
conflict between MacPorts and homebrew
Marco
Your problem is that you have gfortran installed both under MacPorts (/usr/local/bin/gfortran) and homebrew (usr/local/Cellar/gcc/7.2.0/bin/gfortran).
I do NOT recommend using MacPorts.
Please send the output of following commands

ls -lrt /usr/local/bin/gfortran
brew reinstall gcc
brew doctor

Clicked A Few Times
I have solved the problem! Restart from the beginning but using open-mpi and before to compile I installed all of released patches. I will write the detailed procedure later.

Thank you for your time!
Best

Clicked A Few Times
I have solved the problem! Restart from the beginning but using open-mpi and before to compile I installed all of released patches. I will write the detailed procedure later.

Thank you for your time!
Best

Clicked A Few Times
Works Great for Mac OS 10.13.4 and NWChem 6.8
Thanks for the great instructions. Very thorough and well written. Robert


Forum >> NWChem's corner >> Compiling NWChem
Jump to page 1Prev 16