Skip to content

Cannot compile using ifort #60

@cphyc

Description

@cphyc

When I try to compile using ifort, I get the following error:

> FoBiS.py build -mode shared-intel
Builder options
  Directories
    Building directory: "shared"
    Compiled-objects .o   directory: "shared/obj"
    Compiled-objects .mod directory: "shared/mod"
  Compiler options
    Vendor: "intel"
    Compiler command: "ifort"
    Module directory switch: "-module"
    Compiling flags: "-cpp -c -fpic -assume realloc_lhs -O2"
    Linking flags: "-shared -O2"
    Preprocessing flags: ""
    Coverage: False
    Profile: False
  PreForM.py used: False
  PreForM.py output directory: None
  PreForM.py extensions processed: []

Building src/lib/flap.f90
Compiling src/third_party/PENF/src/lib/penf.F90 serially
src/third_party/PENF/src/lib/penf.F90(1392): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [BIT_SIZE]
use penf_b_size,  only : bit_size, byte_size
-------------------------^
compilation aborted for src/third_party/PENF/src/lib/penf.F90 (code 1)

src/third_party/PENF/src/lib/penf.F90(1392): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [BIT_SIZE]
use penf_b_size,  only : bit_size, byte_size
-------------------------^
compilation aborted for src/third_party/PENF/src/lib/penf.F90 (code 1)

FYI, I'm using ifort version:

ifort (IFORT) 15.0.6 20151119
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions