Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search and read data from file

Status
Not open for further replies.

wrebz90

Technical User
Oct 1, 2011
1
Hi, I'm a newbie fortran programmer.I need help to write a program.

I have a file of 30 pages, i want to search for "Normal Coordinates:" in the file and then I want to read frequencies,force constants and co-ordinates.

The part which i want to read in the file is as follows

.............
........ Normal Coordinates:

1 2 3
A B C
Frequencies 6868 6585 89080
MNZ
Force constant 789 987 6779
Coordinates X Y Z X Y Z X Y Z
4 5 6 7 8 9 1 3 4
.............
......


Let me know how to write the program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top