mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
0f54fba793
m_polynomial_coeff.F90:2883:67: 2800 | do icoeff1=icoeff,ncoeff+nstr | 2 ...... 2883 | & index_coeff,list_combination,icoeff1,max_power_strain,& | 1 Error: Variable 'icoeff1' at (1) not definable inside loop beginning at (2) as INTENT(INOUT) argument to subroutine 'computecombinationfromlist' m_polynomial_coeff.F90:2643:26: 2553 | do icoeff1=icoeff,ncoeff+nstr | 2 ...... 2643 | & icoeff1,icoeff_tot,natom,ncoeff,nstr,ncoeff_out,nrpt,nsym,power_disp+1,& | 1 Error: Variable 'icoeff1' at (1) not definable inside loop beginning at (2) as INTENT(INOUT) argument to subroutine 'computenorder' Reported by: pkg-fallout
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: NAKATA Maho <maho@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= abinit
|
|
DISTVERSION= 8.10.3
|
|
PORTREVISION= 6
|
|
CATEGORIES= science
|
|
MASTER_SITES= LOCAL/yuri/ # https://www.abinit.org/sites/default/files/packages/ has the updated 8.10.3 tarball that doesn't compile
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Full-featured atomic-scale first-principles simulation software
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
BROKEN= fails to build
|
|
BROKEN_i386= Type mismatch in argument 'block_displ', see https://github.com/abinit/abinit/issues/19
|
|
|
|
LIB_DEPENDS= liblapack.so:math/lapack \
|
|
libblas.so:math/blas
|
|
RUN_DEPENDS= atompaw:science/atompaw
|
|
|
|
USES= fortran gmake localbase:ldflags
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CC_LDFLAGS="${LDFLAGS}" CXX_LDFLAGS="${LDFLAGS}" FC_LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --enable-shared --disable-static
|
|
FCFLAGS+= -ffree-line-length-none
|
|
|
|
OPTIONS_DEFINE= OPENMP MPI
|
|
OPTIONS_DEFAULT= OPENMP MPI
|
|
|
|
OPENMP_CONFIGURE_ENABLE= openmp
|
|
OPENMP_LDFLAGS= -lomp
|
|
|
|
MPI_CONFIGURE_ENABLE= mpi
|
|
MPI_VARS= FFLAGS+=-I${LOCALBASE}/include FCFLAGS+=-I${LOCALBASE}/include
|
|
MPI_LDFLAGS= ${LOCALBASE}/lib/libmpich.so ${LOCALBASE}/lib/libmpicxx.so ${LOCALBASE}/lib/libmpifort.so
|
|
MPI_LIB_DEPENDS= libmpi.so:net/mpich
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/tests && ./configure && ${GMAKE} check
|
|
|
|
.include <bsd.port.mk>
|