- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo,
I have a problem with an array. When I want to change his value (for example: ind(1) = 1) then i get the following message:
In the attachment is the full code. It's only a example of my problem. It's not possibile to send you the right code. in the file "track.f" at line 9 is my problem. When I don't write something in the array, I don't get into trouble.
Thx
----------------------
array.zip
I have a problem with an array. When I want to change his value (for example: ind(1) = 1) then i get the following message:
[bash]forrtl: severe (174): SIGSEGV, segmentation fault occurred Image PC Routine Line Source testarray 00000000004011F3 Unknown Unknown Unknown testarray 00000000004010F8 Unknown Unknown Unknown testarray 0000000000401075 Unknown Unknown Unknown testarray 0000000000400F9C Unknown Unknown Unknown libc.so.6 00007FAD1A46D5A6 Unknown Unknown Unknown testarray 0000000000400E99 Unknown Unknown Unknown[/bash]
In the attachment is the full code. It's only a example of my problem. It's not possibile to send you the right code. in the file "track.f" at line 9 is my problem. When I don't write something in the array, I don't get into trouble.
Thx
----------------------
array.zip
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to first allocate the array before you write anything into it.
Try add:
allocate(ind(nsize))
before you call your track function.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to first allocate the array before you write anything into it.
Try add:
allocate(ind(nsize))
before you call your track function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Founded too, but you was faster.

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