Index: src/configure =================================================================== --- src/configure (revision 1729) +++ src/configure (working copy) @@ -36,6 +36,8 @@ -nosse Do not optimize for the SSE family of vectorizations -altix Use optimizations specific for the SGI Altix with intel -nolfs Remove compile flags for Large File Support + -macosx Use blas/lapack bundled with Mac OS X + -g95 Use g95 instead of gfortran when choosing gnu compilers Rarely used/tested NAB options: -scalapack Use ScaLAPACK for linear algebra (don't specify -mpi as well) @@ -105,6 +107,8 @@ fppflags="-P " freeformat_flag='' mdgx='no' +macosx='no' +g95='no' #------------------- # Platform specific: @@ -142,6 +146,8 @@ -nosleap) nosleap="true";; -3drism) rism="yes";; -oldmkl) oldmkl="yes";; + -macosx) macosx="yes"; static="no"; ;; + -g95) g95="yes"; openmp="no"; ;; -help) usage;; --help) usage;; @@ -305,6 +311,10 @@ fi fi + if [ $g95 = "yes" ]; then + fc="g95 -fno-second-underscore" + fi + if [ $openmp = "yes" ]; then omp_flag="-fopenmp -DOPENMP" flibs_arch="$flibs_arch -fopenmp" @@ -563,6 +573,14 @@ flibs_goto="$GOTO -lpthread" fi +if [ $macosx = "yes" -a $mkl = "no" ]; then + lapack=skip + blas=skip + flibs="\$(LIBDIR)/carpack.a \$(LIBDIR)/f2c.a" + flibsf="\$(LIBDIR)/carpack.a \$(LIBDIR)/f2c.a" + flibs_arch="-framework Accelerate" +fi + #-------------------------------------------------------------------------- # Support platforms without a C by building c9x-complex. #--------------------------------------------------------------------------