Victor Epitropou(deleted)
|
Re: GCC 4.8.1 with gfortran installation
|
Victor Epitropou(deleted)
05/13/2014 4:56 AM
post110290
|
Re: GCC 4.8.1 with gfortran installation
Hello Bogdan, and thank you for your replies.
It seems that the libraries and paths issues can be easily be sorted out, however there are still problems with
formatted I/O statements. For example, the attached program "hellowrite.f95" uses a print* statement (which works) as
well as two simple formatted write statements, which however fail on runtime with a "missing left parenthesis" error,
while other times it causes a segfault.
# ./hellowrite
Hello World
At line 10 of file hellowrite.f95 (unit = 6, file = 'stdout')
Fortran runtime error: Missing initial left parenthesis in format
However, this seems to be solved if the program is compiled (not just linked) with -malign-double
|
|
|