- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on a way to do a portion of my calculations on a Linux box (just because it is faster 50-100% as I learnt through usage of ABAQUS FEA software) .
How do I talk back and forth with the Linux app.
Steps are
1. CVF makes an output file during runtime
2. File needs to be sent to Linux box (currently use Fireftp)
3. Run executeable at Linux command line with output file in step 1 as argument and second text file as output
4. Send output file back from Linux box to Windows machine to be read in by CVF
Is there any Win32s that can be used or Systemqq, Winexec or Shellexecute or even ftp to IP address that can be usedfrom within CVF to do all or part of the above 4 steps.
Any help would be appreciated.
Thanks
Sumit
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that all versions of Windows from 95through XP have FTP built in. You can access it from a DOS prompt and write a DOS batch file to automate it. CVF has the ability to execute operating system commands, although I don't know the name of the appropriate routine to call to do that.
Therefore, you should be able to automate your step 2 by writing a batch file to perform the FTP chores and then writing the necessary Fortran to execute that batch file. You can write the batch file to run Fireftp if it will accept DOS commands.
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Mike.
That is what we have been attempting to do. There is however one issue.
Is there a way to check in CVF if the output file from the linux box via ftp is back.
What is the best way to track the status of a file which may not be present in the working directory when when the search is started. I delete the output file with defilesqq once CVF has read it in so that for my next loop I do not read the old file in. I do not want to wait a fixed amount of time before continuing with the CVF read in because some loops may be fast and some slow.
Thanks again for your help.
Sumit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just try to open it and check the IOSTAT variable or use INQUIRE

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page