Fortran open file command  error on solstudio

Hi!
I try to open a csv file with fortran but I get an error using sOLstudio on Fedora 13.
****** FORTRAN RUN-TIME SYSTEM ******
Error 1084: unexpected character in real value
Location: the READ statement at line 5 of "programm.f"
Unit: 1
File: file.csv
Input: 0?
But this not happen when I use gfortran or f95 by command shell (The programm works fine):
# gfortran/f95 -o exe programm.f
# ./exe
K00 : 0.0000000
K01 : 0.0000000
K02 : 1.0000000
K03 : 1.0000000
If I change f95 to gfortran in proyect properties,for some reason I cannot use the debugger.
Can anybody help me?
tHANKS!!
! programm.f
1 PROGRAM read_file
2 REAL K00,K01,K02,K03
3 CHARACTER TMP0(3),
4 OPEN(UNIT=1,FILE="file.csv", POSITION="REWIND")
5 READ(1,*)TMP0(3),K00
6 READ(1,*)TMP0(3), K01
7 READ(1,*)TMP0(3), K02
8 READ(1,*)TMP0(3), K03
9 CLOSE(1)
10 PRINT *,"K00 :", K00
11 PRINT *,"K01 :", K01
12 PRINT *,"K02 :", K02
13 PRINT *,"K03 :", K03
14 END
# CSV file
K00,0
K01,0
K02,1.0
K03,1.0
Edited by: 848106 on Apr 2, 2011 4:58 PM
Edited by: 848106 on Apr 2, 2011 5:05 PM

848106 wrote:
Hi!
I try to open a csv file with fortran but I get an error using sOLstudio on Fedora 13.
****** FORTRAN RUN-TIME SYSTEM ******
Error 1084: unexpected character in real value
Location: the READ statement at line 5 of "programm.f"
Unit: 1
File: file.csv
Input: 0?
But this not happen when I use gfortran or f95 by command shell (The programm works fine):
# gfortran/f95 -o exe programm.f
# ./exe
K00 : 0.0000000
K01 : 0.0000000
K02 : 1.0000000
K03 : 1.0000000
If I change f95 to gfortran in proyect properties,for some reason I cannot use the debugger.
Can anybody help me?
tHANKS!!
! programm.f
1 PROGRAM read_file
2 REAL K00,K01,K02,K03
3 CHARACTER TMP0(4),
4 OPEN(UNIT=1,FILE="file.csv", POSITION="REWIND")
5 READ(1,*)TMP0,K00
6 READ(1,*)TMP0, K01
7 READ(1,*)TMP0, K02
8 READ(1,*)TMP0, K03
9 CLOSE(1)
10 PRINT *,"K00 :", K00
11 PRINT *,"K01 :", K01
12 PRINT *,"K02 :", K02
13 PRINT *,"K03 :", K03
14 END
# CSV file
K00, 0
K01, 0
K02,1.0
K03,1.0
....Just a guess really, but retry the .csv file with no space after the comma and 0.0 rather than 0

Similar Messages

  • Open file command not working... suggestions?

    Running InDesign CS6 on Mac OSX 10.8.5. When I go to open a file from InDesign, I can use Command-Arrow Up and Command-Arrow Down to navigate up and down through folders, but then when I select the file I wish to open, another Command-Down Arrow does NOT open the file. Command-O works, but that's not the issue.
    Command-Down Arrow DOES open files in Photoshop, Illustrator, and from the finder (even InDesign documents). Command-Down Arrow DOES open files in InDesign at work, where I'm running both CS3 and CS5 on a slightly older iMac.
    InDesign's keyboard shortcuts clearly show that both Command-O and Command-Down Arrow are set as "Open file" key shortcuts.
    I've trashed my prefs and restarted.
    At my wits end, because Google has revealed that the internet has never heard of this problem. Anyone have any ideas?

    I'll definitely ask at a Mac forum as well, though the Command-down arrow does work as it should in the Finder (as well as other apps, internet, adobe, etc) and it does work properly in InDesign except for that last "Open file" command. Apple lists "Command-Down" as being the keyboard shortcut for "Open highlighted file" so I'm wondering if there is some sort of conflict at play here, though I can't find one.
    This morning, I checked on my wife's computer, and it's reproduceable. Command-Down works except for opening a file from inside of InDesign (or placing a file). She's running CS6, on Mavericks (not sure what exact version).
    So I'm lead to believe this is inherent to only InDesign, and only CS6. Can anyone else reproduce this? (Perhaps it's simply an existing issue with CS6.) If it's simply how InDesign CS6 behaves and everyone has the same result, I could live with that; after all, Enter and Command-O will still work. I'm just trying to isolate the cause, be it InDesign or OSX. If I CAN fix it, I would love to, because I use that shortcut all day long at work and while it does only save a fraction of a second, it does add up over the week, not to mention muscle memory confuses the heck out of me when I get home and suddenly files stop opening for me.
    It's like losing a pencil... insignificant and easily worked around, but I hate not knowing. Whether it be where my missing pencil is or why a key shortcut behaves strangely. Thanks!

  • CS6 Won't open files - Program Error

    When I try to open files in CS6, I get an error "Could not complete your request because of a program error."     I have restarted PS and rebooted the machine.
    Running Mac OS 10.6.8
    2.8 GHz   Core i7
    12 GB Ram
    The same files open fine on CS5.

    Chris,
    There are no log files in the settings folder.
    Curt,
    I have the "Open in CS6" available in Bridge.   When I open a jpg from Bridge, same PS error.  If I open a CR2 in ACR, ACR is fine, but when I tell it "open image" (in ACR), ACR closes, and nothing happens in Photoshop.  No message.  If I double-click a CR2 image from bridge, I get the PS error.
    Howard,
    Same error regardless of file type.
    Thanks for the help.

  • Export Datatable to Excel 2010 format and Save in SharePoint Document library ,and whn opening file getting error "WorkBook may be in unsupported file format "

    im converting stringwriter objec to Memory stream and saving this as .xlsx uploading file in library ,but when i try to open the file im getting error as below
    WorkBook may be in unsupported file format
    and when trying to open in excel getting message as
    Excel cannot open file  because file extention or file format is not valid .verify thet the file has not been corrupted and file extensions match file format

    May be you can use this approach:
    http://www.c-sharpcorner.com/UploadFile/pandeypradip/export-data-into-excel-in-a-pre-defined-template-using-strea/

  • Quicktime won't open files; gives Error -43 message.

    Whenever I try to open file with quicktime I get an error message reading: "Error -43: a file could not be found (files name)"  I have tried re-installing and repairing quicktime.  Any suggestions?  I am runnig windows Vista. 

    I've expierenced error 43 in the past myself and the only two things that I was aware of that caused it, was having a drive named in a way QT could not recognize, or the number of characters in a file name being limited to 21 or less.
    I have never used Adobe Premiere so have no info on that.
    But where you indicate a administrator issue which is related to permissions. This link may give you some info on how to navigate Windows permissions. It is in XP but you can look up for whatever OS is on the computer.
    http://support.microsoft.com/kb/308421

  • Cannot open my photos in 3rd party apps by file menu- open file command

    iphoto08 prevents me from opening my photos in ANY application by way of the file menu' 'file open' command located on the apple bar at the top of the screen..
    the only work around i can find for this issue is to have iphoto open and drag each photo i want to use from iphoto into the 'file open' dialouge box in another program. or drag the photo from iphoto onto the desktop.
    DOES ANYONE KNOW OF ANOTHER SOLUTION?
    I HATE IPHOTO 08- I WANT ACCESS TO MY PHOTOS LIKE IN PREVIOUS VERSIONS !!!!!!!!!!!!

    This is the most ask question - a quick search would turn up many, many, many answers. For TD's comprehensive discussion see -- http://discussions.apple.com/thread.jspa?threadID=1143631&tstart=15
    The short answer is that Apple has made the library a package to protect it from damage.
    Old Toad has a back up script to backup your library on your local disk
    For e-mail the best way is to configure MAIL as your mail client if it will work for your service (it does work for many), select the photos you want and click e-mail to generate an e-mail to send
    For editing you can set iPhoto preferences to use a third party program to edit photos.
    So there are Many solutions depending on what you are trying to do.
    Larry Nebel

  • STARTING DATABASE : PROBLEM OF Linux Error: 23: Too many open files in syst

    Hi everybody,
    I am running an RMAN script and get this error,
    9> @/u01/app/oracle/admin/devpose/backup/configuration.rcv
    RMAN> ###################################################################
    2> # Configuration file used to set Rman policies.
    3> #
    4> ###################################################################
    5>
    6> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/26/2009 20:03:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/26/2009 20:03:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN> #CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    2> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/26/2009 20:03:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    RMAN>
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/backup/db/ora_df%t_s%s_s%p';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/26/2009 20:03:30
    RMAN-06403: could not obtain a fully authorized session
    ORA-01034: ORACLE not available
    But this problem is understandable, as the database is not running. The main problem why database is not running, I have found the reason but do not understand how to solve the problem.
    Since, the database was not running, I tried to startup the database, I then came across the following which is my problem (Why so many files are open? Linux OS error says too many files open. See below,
    SQL> conn /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 419430400 bytes
    Fixed Size 779516 bytes
    Variable Size 258743044 bytes
    Database Buffers 159383552 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/devpose/redo02.log'
    ORA-27041: unable to open file
    Linux Error: 23: Too many open files in system
    Can anybody has run into such problem and guide me to a solution, please?
    Thanks

    Hi,
    yes, this DB was functioning o.k. this configuration script was part of RMAN daily backup.
    Last night the backup failed. So, when I opened "Failed job" in the EM, I saw this type of messages.
    That was the starting point. Gradually, I tried to narrow down on to the actual problem and found the findings as I have posted.
    One way of sovling problem, I thought that, all these processes I would kill and then try to open the database, it might startup. However, that wouldnot lead me in ensuring this won't occur again.
    That's why I am trying to understand why it should open, so many processes (why spawn so many .flb files?) Any thoughts you have around this?
    I will try to restart the OS as the last resort.
    Thanks for your help and suggestions.
    Regards,

  • Error opening file/URL reference by alias and Administrative limit exceeded

    Hello All,
    Problem:
    SMTP Error: 4.5.0 error opening file/URL reference by alias
    and
    Search failed with: netscape.ldap.LDAPException: error result (11); Administrative limit exceeded
    Here is my configuration:
    Windows 2000 server (without Active Directory)
    SP4
    Iplanet Messaging Server 5.2
    Netscape Directory Server 4.16
    IPlanet Messaging Server 5.2 Hotfix 1.09 (built Jan 7 2003)
    We have a group which we use to flash messages to all the users of the mail server. Till last week it was working fine but now I am not able to send messages to this group <group-name>.
    There are around 800 (Eight Hundred) E-mail id the messaging server and the flashed message is supposed to go to all 800 + users.
    Note: I have another group of 300 users and I am able to send an E-mail to this group of 300 users.
    I am using Dynamic Group for Members list.
    The error message I get while trying to send message to this group is
    SMTP Error: 4.5.0 error opening file/URL reference by alias.
    The corresponding error in mail.log file is
    30-Jan-2004 10:55:21.40 41c.7e4.1098 tcp_intranet J 0 <group-name>@domain rfc822; <group-name>@domain domain (localhost [127.0.0.1]) 452 4.5.0 error opening file/URL referenced by alias: <group-name>@domain
    Now when I construct and Test the LDAP URL from Console, the error I get is:
    Search failed with: netscape.ldap.LDAPException: error result (11); Administrative limit exceeded
    I have increased the various limits but I still get the same error when I send mail to that group or do a LDAP Test:
    The deafult and new limits are:
    Sizelimit: Default 2000 New 10000
    Timelimit Default 3600 New 3600
    Lookthroughlimit Default 5000 New 6000
    The corresponding error entry in access log of slapd is:
    30/Jan/2004:12:19:26 +051800] conn=34 op=213 RESULT err=11 tag=101 nentries=0 etime=2 notes=U
    My search for Administrative limit problem and error opening file/URL error in Sun forum and other groups did get some hits but that did not solve my problem.
    I will appreciate any suggestion/comments.
    Thanks and Regards,
    Maneesh Bisht

    Thanks Jay.
    My problem has been fixed.
    Your suggestion was to increase the lookthrough limit. As you would have noticed in my posting that I had increased this limit to 6000 but that did not solve my problem. Today I increased this limit to 10000. And after that I did not get "administrative limit exceeded" error. Also I do not get "error opening file/URL reference by alias" error while sending E-mail to a particular group of 800+ ids.
    Regards,
    Maneesh Bisht

  • Linux Error: 23: Too many open files in system

    I crashed the my oracle instance with the following error:
    Tue Feb 13 22:15:16 2001
    Errors in file /home/oracle/product/8.1.6/admin/v2qa1/bdump/lgwr_14175.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/db03/v2qa1/system/log/redo02.log'
    ORA-27041: unable to open file
    Linux Error: 23: Too many open files in system
    Additional information: 2
    LGWR: terminating instance due to error 313
    Instance terminated by LGWR, pid = 14175
    Is the number of open files adjustable?
    Why am I opening files?
    Could the fact that our java stored procedures are trying, unsuccessfully, be leaving files open?
    Thanks - Craig
    null

    increasing the oracle users ulimit to unlimited fixed that error for me. Type
    ulimit -a
    and look at the open files parameter. See your linux doc's to increase it to unlimited (will probably be increased from 1024 to 4096).

  • ORA-27078: unable to determine limit for open files

    I installed Oracle XE on my Gengoooraclexe@ghost ~ $ lsnrctl
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2011 16:51:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 25-JUN-2011 10:03:30
    Uptime 0 days 6 hr. 48 min. 1 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ghost.emacs.com)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Poraclexe@ghost ~ $ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 25 07:19:58 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> show user
    USER is "SYS"
    SQL> startup
    ORA-27078: unable to determine limit for open files
    Linux Error: 1: Operation not permitted
    Additional information: 1
    Additional information: 1
    Additional information: -2958340
    SQL> startup force
    ORA-27078: unable to determine limit for open files
    Linux Error: 1: Operation not permitted
    Additional information: 1
    Additional information: 1
    Additional information: -3378372
    SQL> startup
    ORA-03113: end-of-file on communication channel
    SQL> exit
    Disconnected

    unable to determine limit for open filessee http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABJFAIA
    Is that a debian flavored distro?

  • Inability to open file with appropriate application

    I am a huge fan of Symantec’s classic outlining program, More 3.1. Until OmniOutliner implements cloning, I will need to stay with MORE running in Classic on a non-Intel system since so much of my professional work is done in MORE.
    Just recently, I’ve noted a problem opening MORE files. Specifically, they all open in OmniOutliner (v3.6.2 Professional) if one double clicks on them.
    I’ve done a “Get Info”, navigated to “Open With”, navigated to the MORE application, chosen “All Applications” (rather than “Recommended Applications”), but am unable to select the More application (it remains dimmed out). In the past this process worked just fine.
    Interestingly, I am able to open these files from within MORE; ie, if the MORE application is running, I use MORE’s “Open File” command and all works well. All MORE files work fine when they are opened in this fashion.
    The only thing that I can think of is that I had to do an "Archive and Install" to repair damage from a system crash last week. Could this have somehow affected this Classic application’s opening process?
    I’ve “Repaired Permissions” via Disk Utility, and also run Applejack from single user mode. I’m running OS 10.4.10 on a 1.6 GHz PPC. All else on my system seems to be working perfectly.
    Any information as to how I may set my MORE files to open with the MORE application with a double-click or Command-O would be greatly appreciated. Thank you!

    I suggest that you reset the LaunchServices database as detailed in:
    http://www.thexlab.com/faqs/resetlaunchservices.html and
    http://www.macosxhints.com/article.php?story=20031215144430486
    Restart, select a More document, and see if that fixes things.

  • Problems opening files from Photoshop CS4 extended

    Hello, I originally installed the software on my second drive which is intalled in my computer casing. This is due to limited space I have on my "C" drive, this is where the file "MyPictures" are also found.
    Through Bridge, I can go through the "mypictures" file without a problem, however, if I am in photoshop the minute I go through the "open" fil commande the window opens I see the files but the computer freezes and I have to shut down the program.
    I have received many suggestions to which none have resolved the problem. I have moved stuff around and I am now able to fit on the "C" drive the program (Photoshop) and "MyPictures" onto it. It did not solve the program either.
    Is there anyone out there who can help me?
    Thank you
    Guy

    Yes, as a matter of fact before reinstalling the program on the "C" drive I did a defrag to make sure the disk was in order before reinstallation.
    Guy

  • FRM-10043: Cannot open file after converting SQL*Form 2.3 INP to 4.5 FMB

    After running the f45gen32.exe on a version SQL*Form 2.3 INP file, it generates
    the version 4.5 FMB adn the .err file (that does not indicate that any errors have occurred).
    When I attempt to open the converted module using Developer 2000 v.1.3, it continuously
    indicates the following error:
    FRM-10043: Cannot open file
    This error is received despite selecting all the required conversion parameters (per metalink and
    other notes found on this forum).
    This is a conversion of SQL*Forms version 2.3 to 4.5, with the ultimate goal of converting to 6i.
    The same process works with other forms.?
    Any suggestions would be greatly appreciated.

    Does anyone have a workaround for this issue?
    Is Developer 2000 v.1.3 the incorrect version to use?
    Thank you for your assistance.

  • File "New", duplicate open file dimensions?

    Ive updated to the latest Photoshop CC 2014.2.0 Release version.
    Ive found that when a existing file is open and wanting to create a new file with the same file dimensions as the open file, the "File, New" and selecting the existing open file name in the "Preset" drop down list is NOT opening a file with the same dimensions as the existing open file.
    Is this a bug or has this feature been eliminated?

    Thank you for the reply Chris!
    In the meantime Ive found a work around fix till then.
    Select the open file (Command A) and copy it to the clipboard.  Open a new file and in the Preset drop down, choose Clipboard.

  • JRE Command Line Install - Error Opening File Java3BillDevices.jpg

    We are installing JRE using a command line script. We keep getting the following error. Is this a bug with the Installer package? Anyone know how to fix it?
    Error opening file C:\Users\USERID\AppData\LocalLow\Sun\Java\jre1.6.0_38\Java3BillDevices.jpg
    Error: 2
    JRE seems to install and work correctly, but the error is perplexing. We are of course installing with Administrative privileges. There are a bunch of posts on the interwebs about this, but nobody really seems to know how to fix it.
    OS: WIN7 64bit
    JRE: 1.6.0_38
    Install Command:
    C:\scripts\Java_JRE_1.6.0_38_32bit_W764\jre-6u38-windows-i586.exe /s INSTALLDIR=\C:\scripts\Java_JRE1.6.0_38_32bit_W764\" IEXPLORER=1 MOZILLA=1 STATIC=1 JAVAUPDATE=0 JU=0 UPDATECHECK=0 AUTOUPDATECHECK=0 /L C:\scripts\LOGS\Java_JRE1.6.0_38_32bit_W764_Install.txt

    On 30.12.2013 10:06, contentdevelopment wrote:
    >
    > Hi Laura,
    >
    > Thanks for your reply, I used to try this installer setupsp.exe, but it
    > prompted the following error:
    >
    > ---------------------------
    > Novell Client Support Pack Install
    > ---------------------------
    > Error: Unable to locate required Support Pack installation files.
    >
    > Attempted control INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > Attempted install INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > ---------------------------
    > OK
    > ---------------------------
    >
    > And there is no install.ini file in the 491psp5_IR2.zip.
    Please try the full client install:
    https://download.novell.com/Download...d=XBMCanfiNDY~
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

Maybe you are looking for

  • Graph xy move cursor programmability

    Hi, i have this problem, i have graphXY with one cursor, "Snap to point" "Channel 1", when programmability associate one position(x) for the cursor, no accept the new position. Why? Hola a todos, perdón por mi inglés, pero tengo el siguiente problema

  • Comm channel not available in RWB comm channel monitoring

    Hi All,           I've gone through this(Comm channel missing in comm channel monitoring) unanwered forum. I've facing the same issue. In my ID, I created XI receiver adapter comm. channel. And data is flowing successfully to the receiver side throug

  • Nokia 5530 Xpress lcd replace went wrong - help! p...

    I disassemblyed my phone. After replacement the touchscreen won't lit. Why? Leds and sound is working but when I when I placed the nearly fault original LCD, nothing happened. Screen went black. I need some quick help, please!

  • File Size bloating

    Hi guys, hope you can help me with this issue. I am running Designer ES version 8.2.1.5161.1.566259. I started with a form which was 1,057KB. I updated two variables in the Form Properties, saved the form and it was 2,227KB. I then replaced an image

  • Seeking a good quality Slide show application recommendation!

    I am seeking a good slide show application that has really nice additions like transitions, Ken Burns effect that will then export the finished slide show to a Quicktime movie. As always thanks in advance for reading and replying to my post, Sebastia