Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] sndlib problem by mpicc compiler
From: Pawe³ Jaromin (pawcioj_at_[hidden])
Date: 2012-07-28 13:08:45


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