climateprediction.net home page
Error in request message: fgets() failed

Error in request message: fgets() failed

Message boards : Number crunching : Error in request message: fgets() failed
Message board moderation

To post messages, you must log in.

AuthorMessage
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1120
Credit: 17,198,774
RAC: 2,444
Message 43156 - Posted: 7 Oct 2011, 19:43:35 UTC

One of my machines has been getting this kind of thing for a long time (but not forever). Is this a problem at my end, or one with the server? My other machne is getting climate prediction tasks as needed.

07-Oct-2011 14:36:03 [climateprediction.net] Sending scheduler request: To fetch work. Requesting 58849 seconds of work, reporting 0 completed tasks
07-Oct-2011 14:36:08 [climateprediction.net] Scheduler request succeeded: got 0 new tasks
07-Oct-2011 14:36:08 [climateprediction.net] Message from server: Error in request message: fgets() failed

ID: 43156 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 43157 - Posted: 7 Oct 2011, 20:40:09 UTC - in response to Message 43156.  
Last modified: 7 Oct 2011, 20:50:26 UTC

It's a project problem, that's been described in two posts in the News and Announcements thread.
Please subscribe to that thread so that you get an email each time we have something important to tell people.

It's also being talked about in this thread labelled Upload Failure, which is immediately before yours.

PS
Please fix the problem with your 2 computers, which is causing most downloaded data sets to crash before they even start.

It's either the correct version of GLIBC missing from your brand of Linux, (which is what is in the stderr files of your failed models), or your computer(s) don't have SSE2 capabilities, which is now required for our climate models.
Backups: Here
ID: 43157 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2184
Credit: 64,822,615
RAC: 5,275
Message 43159 - Posted: 8 Oct 2011, 1:52:56 UTC

Per Les's message. The stickies in the Linux forum here address the problems with both your computers.

The old Pentium3 can only run FAMOUS, which has no work now.

The newer PC is running RHEL/CentOS5 which doesn't have new enough versions of libstdc++.so.6 for hadam3p. You can set your preferences to only download hadcm3n for that PC.
ID: 43159 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4532
Credit: 18,763,629
RAC: 18,764
Message 43164 - Posted: 8 Oct 2011, 6:02:31 UTC - in response to Message 43159.  

It is possible to download and install an up to date version of libstdc++.so.6 by going to an rpm distribution that has one such as Mandriva or you could extract a tarball and replace the one you have.

Dave
ID: 43164 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1120
Credit: 17,198,774
RAC: 2,444
Message 43171 - Posted: 8 Oct 2011, 16:27:09 UTC - in response to Message 43159.  

Yes, one machine has dual pentium III processors; the other has dual 3.06GHz Xeons. The old one uses glibc-2.3.4-2.43.el4_8.3 (CentOS4); the new one uses glibc-2.5-65 (RHEL-5)
So that accounts for the troubles. I guess the easiest thing would be to disconnect that machine from ClimatePrediction, at least until I find the time to upgrade it to CentOS 5. I do not think the old machine will support CentOS 6 since it has only 512Megabytes RAM. The new machine has 8 GBytes.
ID: 43171 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1120
Credit: 17,198,774
RAC: 2,444
Message 43172 - Posted: 8 Oct 2011, 16:44:27 UTC - in response to Message 43159.  

"The newer PC is running RHEL/CentOS5 which doesn't have new enough versions of libstdc++.so.6 for hadam3p. You can set your preferences to only download hadcm3n for that PC."

What version does it need? I have
Jul 21 06:32 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
Apr 7 2011 /usr/lib/libstdc++.so.6.0.8
[/quote]
ID: 43172 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4532
Credit: 18,763,629
RAC: 18,764
Message 43174 - Posted: 8 Oct 2011, 17:59:01 UTC - in response to Message 43172.  

Not sure which version it needs but I have libstdc++.so.6.0.13 and that works fine. You could find the rpm for it in Mandriva and other repositories and install it.

Dave
ID: 43174 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2184
Credit: 64,822,615
RAC: 5,275
Message 43175 - Posted: 8 Oct 2011, 19:15:58 UTC
Last modified: 8 Oct 2011, 19:46:52 UTC

This is what I posted to the Beta 6.08 thread on this back in January:

As indicated earlier, this app doesn't like CentOS/RHEL 5.5. It appears to be a problem that those OS's have a version of libstdc++.so.6 that does not contain GLIBCXX_3.4.9. The version with those OS's is compatible with GLIBCXX_3.4.8 and before. Looking around on the net, there doesn't appear to be any reasonable workaround for this.

<core_client_version>6.10.58</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
../../projects/cpdnbeta.oerc.ox.ac.uk/hadam3p_saf_6.08_i686-pc-linux-gnu: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ../../projects/cpdnbeta.oerc.ox.ac.uk/hadam3p_saf_6.08_i686-pc-linux-gnu)

</stderr_txt>
]]>


This is discussed somewhat here with a possible solution using rpms from Fedora 10, maybe.
ID: 43175 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2184
Credit: 64,822,615
RAC: 5,275
Message 43176 - Posted: 8 Oct 2011, 19:55:20 UTC - in response to Message 43171.  

Yes, one machine has dual pentium III processors; the other has dual 3.06GHz Xeons. The old one uses glibc-2.3.4-2.43.el4_8.3 (CentOS4); the new one uses glibc-2.5-65 (RHEL-5)
So that accounts for the troubles. I guess the easiest thing would be to disconnect that machine from ClimatePrediction, at least until I find the time to upgrade it to CentOS 5. I do not think the old machine will support CentOS 6 since it has only 512Megabytes RAM. The new machine has 8 GBytes.


The old machine can run neither hadcm3n nor hadam3p because it does not have SSE2 capabilities. The only model that may be released that can run on that PC is FAMOUS, and there are no task available for that.
ID: 43176 · Report as offensive     Reply Quote

Message boards : Number crunching : Error in request message: fgets() failed

©2024 cpdn.org