Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Coarray link errors
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
joshua_pedrick  
View profile  
 More options Nov 2, 11:06 am
From: joshua_pedrick <joshua.pedr...@gmail.com>
Date: Mon, 2 Nov 2009 08:06:06 -0800 (PST)
Local: Mon, Nov 2 2009 11:06 am
Subject: Coarray link errors
I've downloaded the latest g95 source and compiled it. I'm able to
compile 'normal' Fortran code, but I'm getting the following errors
when linking my co-array program:

$ g95 coarray.f90
/tmp/ccyibhwb.o: In function `MAIN_':
coarray.f90:(.text+0x2a): undefined reference to `_g95_this_image'
coarray.f90:(.text+0x40): undefined reference to `_g95_sync_all'
coarray.f90:(.text+0x54): undefined reference to `_g95_this_image'
coarray.f90:(.text+0x67): undefined reference to `_g95_num_images'
coarray.f90:(.text+0x116): undefined reference to `_g95_load_image'

coarray.f90:
        program coarray
        integer :: m[*]

        m = THIS_IMAGE()
        SYNC ALL

        if (THIS_IMAGE() == 1) then
          do i=1, NUM_IMAGES()
            print *, i, m[i]
          enddo
        endif
      end program


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joshua_pedrick  
View profile  
 More options Nov 2, 3:23 pm
From: joshua_pedrick <joshua.pedr...@gmail.com>
Date: Mon, 2 Nov 2009 12:23:06 -0800 (PST)
Local: Mon, Nov 2 2009 3:23 pm
Subject: Re: Coarray link errors
I solved this problem by linking the coarray.o object file included
with cocon.

On Nov 2, 11:06 am, joshua_pedrick <joshua.pedr...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google