whizard is hosted by Hepforge, IPPP Durham

Opened 10 years ago

Closed 10 years ago

#583 closed defect (fixed)

Overriding processes

Reported by: Juergen Reuter Owned by: kilian
Priority: P2 Milestone: v2.2.0
Component: core Version: 2.1.1
Severity: normal Keywords:
Cc:

Description

The self test libs.sin overrides existing processes in a library. This is not done however in the code, and WHIZARD fails with an error like

libtool: compile:  gfortran -c -I/Users/reuter/.whizard/lib/whizard/mod/models -I/Users/reuter/local/lib/whizard/mod/models -I/Users/reuter/local/include/omega -I/Users/reuter/local/lib/whizard/mod/whizard-core -I/Users/reuter/local/lib/whizard/mod/misc -fopenmp -g -O2 -fno-common default_lib.f90  -fno-common -o .libs/default_lib.o
default_lib.f90:557.37:

     subroutine libs_p1_i1_init (par) bind(C)
                                     1
Error: Symbol 'libs_p1_i1_init' at (1) already has an explicit interface
default_lib.f90:558.13:

       import
             1
Error: IMPORT statement at (1) only permitted in an INTERFACE body
default_lib.f90:559.12:

Either overriding processes has to be enabled again, or this should be caught.

Change History (2)

comment:1 Changed 10 years ago by kilian

Priority: P3P2
Status: newassigned

I'll have a look.

comment:2 Changed 10 years ago by kilian

Resolution: fixed
Status: assignedclosed

No point in allowing this. Fixed in r5576.

Note: See TracTickets for help on using tickets.