gcc - Netbeans is failing to build (How do I point it to my new Open MPI library?) -
i doing c development using netbeans on os x , project fails build, stating "...this installation of open mpi not compiled fortran 90 support"
i have installed newer gcc , open mpi (along side default versions), , can build using them via make on command line. leads me believe netbeans using default open mpi installation (which did not have fortran support). if correct, how use new installation? told netbeans other compilers via tool collection manager (file->project properties->build->tool collection->[...]). however, not know of way tell open mpi.
i have working solution. solution exists in 2 parts.
1) reran configure on command line project , specified full paths mpicc , mpifc. solved problem of getting netbeans use right mpicc compiler. however, created issue: mpif90 wrapper not find gfortran.
2) altered 'gui environment' path variable put gfortran in path using /etc/launchd.conf method found here (http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x).
after reboot, netbeans compiles project. so, i'm claiming success.
Comments
Post a Comment