Hi everyone,
i am new to the mailing list, and tried to install Corsika.
i downloadad Corsika Vs 73700.
I tried to compile with Fluka, using the options:
2 - Use compiler default ('-m64' on a 64bit machine) [DEFAULT]
5 - QGSJETII-04
2 - FLUKA
1 - horizontal flat detector array [DEFAULT]
no additional option (two times press enter)
f - Compiling and remove temporary files [DEFAULT]
This yields
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configure: Missing required packages: FLUKA
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configure: error: Aborting configuration
On my machine, the variables are set to
export FLUPRO='/data/user/dbindig/Analysis/Corsika/fluka/'
export FLUFOR=gfortran
export F77=gfortran
but this does not help. In the config.log, i have:
configure:20040: checking whether FLUKA can be used
configure:20056: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dbindig/Analysis/Corsika/fluka//flukapro -Xlinker
--no-as-needed conftest.f \
-L/data/user/dbindig/Analysis/Corsika/fluka/ -lflukahp >&5
/data/user/dbindig/Analysis/Corsika/fluka//libflukahp.a(zeroin.o): In
function `zeroin_':
zeroin.f:(.text+0x1428): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x147c): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x14d0): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x1524): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x1578): undefined reference to
`_gfortran_transfer_character_write'
...
flrm64.f:(.text+0x1010): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1024): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1038): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x104c): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1060): undefined reference to
`_gfortran_transfer_integer_write'
collect2: ld returned 1 exit status
configure:20056: $? = 1
configure: failed program was:
| program main
|
| include '(IOUNIT)'
| dimension test(LUNIN)
| call ZEROIN
|
| end
configure:20066: result: no
I already asked a colleague for help and i tried his fluka version
(the same FLUPRO), and corsika73500, but even that does not work. A
colleague of mine used the same machine, for him it works with my
options.
I compared both mine and his config.log and the difference i found is:
In his config.log:
configure:19271: checking whether FLUKA can be used
configure:19287: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dsoldin/corsika/fluka//flukapro conftest.f
-L/data/user/dsoldin/corsika/fl\
uka/ -lflukahp >&5
configure:19287: $? = 0
configure:19289: result: yes
In my config.log:
configure:19271: checking whether FLUKA can be used
configure:19287: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dsoldin/corsika/fluka//flukapro conftest.f
-L/data/user/dsoldin/corsika/fl\
uka/ -lflukahp >&5
conftest.f:3: Error: Can't open included file '(IOUNIT)'
configure:19287: $? = 1
configure: failed program was:
| program main
|
| include '(IOUNIT)'
| dimension test(LUNIN)
| call ZEROIN
|
| end
configure:19297: result: no
Maybe thats because i am not allowed to use the fluka dir of my colleague?
Obvioulsy, i am missing something or i am doing wrong.
Can you please help me?
Cheers, Daniel Bindig
attached mail follows:
Dear Mr. Pierog and Mr. Heck,
i successfully downloadad Corsika Vs 73700.
I tried to compile with Fluka, using the options:
2 - Use compiler default ('-m64' on a 64bit machine) [DEFAULT]
5 - QGSJETII-04
2 - FLUKA
1 - horizontal flat detector array [DEFAULT]
no additional option (two times press enter)
f - Compiling and remove temporary files [DEFAULT]
This yields
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configure: Missing required packages: FLUKA
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configure: error: Aborting configuration
The variables are set to
export FLUPRO='/data/user/dbindig/Analysis/Corsika/fluka/'
export FLUFOR=gfortran
export F77=gfortran
but this does not help. In the config.log, i have:
configure:20040: checking whether FLUKA can be used
configure:20056: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dbindig/Analysis/Corsika/fluka//flukapro -Xlinker
--no-as-needed conftest.f \
-L/data/user/dbindig/Analysis/Corsika/fluka/ -lflukahp >&5
/data/user/dbindig/Analysis/Corsika/fluka//libflukahp.a(zeroin.o): In
function `zeroin_':
zeroin.f:(.text+0x1428): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x147c): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x14d0): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x1524): undefined reference to
`_gfortran_transfer_character_write'
zeroin.f:(.text+0x1578): undefined reference to
`_gfortran_transfer_character_write'
...
flrm64.f:(.text+0x1010): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1024): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1038): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x104c): undefined reference to
`_gfortran_transfer_integer_write'
flrm64.f:(.text+0x1060): undefined reference to
`_gfortran_transfer_integer_write'
collect2: ld returned 1 exit status
configure:20056: $? = 1
configure: failed program was:
| program main
|
| include '(IOUNIT)'
| dimension test(LUNIN)
| call ZEROIN
|
| end
configure:20066: result: no
I already asked a colleague for help and i tried his fluka version
(the same FLUPRO), and corsika73500, but even that does not work. A
colleague of mine used the same machine, for him it works with my
options.
I compared both mine and his config.log and the difference i found is:
In his config.log:
configure:19271: checking whether FLUKA can be used
configure:19287: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dsoldin/corsika/fluka//flukapro conftest.f
-L/data/user/dsoldin/corsika/fl\
uka/ -lflukahp >&5
configure:19287: $? = 0
configure:19289: result: yes
In my config.log:
configure:19271: checking whether FLUKA can be used
configure:19287: gfortran -o conftest -g -std=legacy -Wtabs -lm
-I/data/user/dsoldin/corsika/fluka//flukapro conftest.f
-L/data/user/dsoldin/corsika/fl\
uka/ -lflukahp >&5
conftest.f:3: Error: Can't open included file '(IOUNIT)'
configure:19287: $? = 1
configure: failed program was:
| program main
|
| include '(IOUNIT)'
| dimension test(LUNIN)
| call ZEROIN
|
| end
configure:19297: result: no
Maybe thats because i am not allowed to use the fluka dir of my colleague?
Obvioulsy, i am missing something or i am doing wrong.
Can you please help me?
Cheers, Daniel
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Mar 17 2016 - 13:30:50 CET