Re: C/R - ASG waiting for us?

From: Eric Roman (ERoman_at_lbl_dot_gov)
Date: Wed Apr 21 2004 - 18:10:09 PDT

  • Next message: jcduell_at_lbl_dot_gov: "checkpoint/restart support for files"
    > Do we know of any stable CVS tag or tarball that has a working
    > --enable-files?  If not, Eric, how long will it take to get the head of
    > CVS back into working shape?
    
    My working copy on n2001 (which should match the CVS head, 'cvs status'
    sez it's all up to date) works with the following test code:
    
    #include <stdio.h>
    
    main()
    {
       FILE *fp;
       int i = 0;
    
       fp = fopen("hello.out", "w");
       if (fp == NULL)
       {
         perror("fopen");
       }
    
       while (1) {
          fprintf(fp, "Hello, world! %d\n", i++);
          fflush(fp);
          sleep(1);
       }
    }
    
    Also, the pipe test codes are giving positive results for simple cases.  So
    files might work.  :)
    
    They don't restore regular file flags correctly.  non-blocking comes back
    as blocking at the moment...
    
    > -- 
    > Jason Duell             Future Technologies Group
    > <jcduell_at_lbl_dot_gov>       Computational Research Division
    > Tel: +1-510-495-2354    Lawrence Berkeley National Laboratory
    
    -- 
    Eric Roman                       Computational Research Division
    510-486-6420                     Berkeley Lab
    

  • Next message: jcduell_at_lbl_dot_gov: "checkpoint/restart support for files"