Hello all

Because I try make a program to parallel procesing sound files, I use
libsndfile library to load and write wav files. Sytuation is strange,
because when I compile the program by gcc is good (no parallel), but
if I do it by mpicc is a problem with sndFile variable.

   // Open sound file
   SF_INFO sndInfo;
   SNDFILE *sndFile = sf_open(argv[1], SFM_READ, &sndInfo);
   if (sndFile == NULL) {
      fprintf(stderr, "Error reading source file '%s': %s\n", argv[1],
sf_strerror(sndFile));
      return 1;
   }

This code run witout an error, but variable is "No value"

Maybe somone can help me ??

-- 
------------------------------------
pozdrawiam

Paweł Jaromin

Reply via email to