I am trying to compile a fortran code with gnu-autotools. The openmp
specific lines in configure.ac is:
AC_OPENMP
AC_PROG_FC([gfortran])
FCFLAGS="$OPENMP_FFLAGS -fcheck=all"
If I compile with this, I am not getting omp related compiler options,
as described in the AC_OPENMP macro in autoconf manu
Hello,
On 6/23/16, Rudra Banerjee wrote:
> I am trying to compile a fortran code with gnu-autotools. The openmp
> specific lines in configure.ac is:
>
> AC_OPENMP
> AC_PROG_FC([gfortran])
> FCFLAGS="$OPENMP_FFLAGS -fcheck=all"
The tests performed by AC_OPENMP (and the variables set) depend on
th
Hi,
Thanks a lot for your reply. But this (AC_LANG) is making make to
crash.
Copying your configure.ac, I am getting:
$./configure
checking for gfortran... gfortran
checking whether the Fortran compiler works... yes
checking for Fortran compiler default output file name... a.out
checking for suff
Hi Nick,
Taking all your comments into account, my current configure.ac is:
#!/bin/bash
AC_INIT([src], [0.4],[],
[kmc],[])
AC_LANG([Fortran])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9.6 dist-bzip2 subdir-objects foreign]
On Thu, Jun 23, 2016 at 11:06 AM, Rudra Banerjee wrote:
>
> $make
> Makefile:752: *** missing separator. Stop.
Please send us the **unedited** output of
$ sed -ne '745,760p' Makefile
(with a Makefile that produces the "missing separator" error message)
zw
Hi,
The output is:
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall
\
uninstall-am uninstall-binPROGRAMS
.PRECIOUS: Makefile
depend depend.mk:
makedepf90 $(kmc_SOURCES) >depend.mk
@am__include@ @am__qu...@depend.mk@am__quote@
#$(warning Create the dependencie
Sorry that I have pressed send button too early.
If I comment the AC_LANG in configure.ac, the corresponding line in
Makefile is:
depend depend.mk:
makedepf90 $(kmc_SOURCES) >depend.mk
include depend.mk
what i want.
Regards,
Rudra
On Thu, 2016-06-23 at 12:54 -0400, Zack Weinberg wrote:
>