~ubuntu-branches/ubuntu/wily/freefem++/wily

« back to all changes in this revision

Viewing changes to examples++-mpi/dSuperLU_DIST.cpp

  • Committer: Package Import Robot
  • Author(s): Dimitrios Eftaxiopoulos, Dimitrios Eftaxiopoulos, Christophe Trophime
  • Date: 2013-09-12 00:02:58 UTC
  • mfrom: (1.2.1) (11.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130912000258-aclq2zfa1svt0p3x
Tags: 3.25-1
[ Dimitrios Eftaxiopoulos ]
* Imported Upstream version 3.25 (Closes: #701161 #706714)
* Change installation directory of header-like *.idp files
  from /usr/lib/freefem++ to /usr/include/freefem++, in order
  to fix a lintian warning
* Update patch to examples++-load/Makefile.am in order to enable
  functioning of load *.so and include *.idp commands in *.edp
  scripts
* Delete patches to src/Graphics/sansgraph.cpp and
  src/Graphics/xglrgraph.cpp because they are not needed any more
* Fix lintian warning about missing LDFLAGS
* Override dh_auto_test in debian/rules, such that in case it is 
  used, it completes executing all *.edp example files, regardless
  of aborting on some of them
* Add libmetis-dev to build-deps in d/control
* Remove libparmetis-dev from build deps
* Add --parallel option to dh $@ in debian/rules
* Add hardening compilation flags to mpic++
* Allow testing of compiling and running the example files after build

[ Christophe Trophime ]
* update C. Trophime email
* add support for nlopt, ipopt - simplify debian/rules
* upload CT changes to 3.20
* add patch for configure
* add patch for examples++-mpi
* fix bamg install
* add corrected scripts to build plugins
* add patch for properly build examples++-load
* add lintian overrides for libfreefem++
* add some missing files
* update patches
* update rules
* reorder BuildDepends - comment out unsupported libs

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
    if(mpicommw)
187
187
      superlu_gridinit(*mpicommw, nprow, npcol, &grid);
188
188
    else
 
189
      // FFCS - MPI::COMM_WORLD is not accepted on mingw64+MSMPI?
189
190
      superlu_gridinit(MPI_COMM_WORLD, nprow, npcol, &grid);
190
191
    
191
192
    /* Bail out if I do not belong in the grid. */
248
249
          Dtype_t R_SLU = SuperLUmpiDISTDriver<R>::R_SLU_T(); 
249
250
          
250
251
          cout << "Debut: Create_CompCol_Matrix_dist" <<endl;
251
 
          Create_CompCol_Matrix_dist(&A, m, n, nnz, a, asub, xa, SLU_NC, R_SLU, SLU_GE);      
 
252
          // FFCS - "this->" required by g++ 4.7
 
253
          this->Create_CompCol_Matrix_dist(&A, m, n, nnz, a, asub, xa, SLU_NC, R_SLU, SLU_GE);      
252
254
          cout << "Fin: Create_CompCol_Matrix_dist" <<endl;
253
255
          /* creation of pseudo solution + second member */
254
256
          
700
702
    DefSparseSolver<double>::solver =SparseMatSolver_R;
701
703
    //DefSparseSolver<Complex>::solver =SparseMatSolver_C;
702
704
    TypeSolveMat::defaultvalue =TypeSolveMat::SparseSolver;
 
705
 
 
706
    return false;
703
707
}
704
708
 
705
709
bool SetSuperLUmpi()
709
713
    DefSparseSolver<double>::solver  =BuildSolverSuperLUmpi;
710
714
    //DefSparseSolver<Complex>::solver =BuildSolverSuperLUmpi;    
711
715
    TypeSolveMat::defaultvalue  = TypeSolveMatdefaultvalue;
 
716
 
 
717
    return false;
712
718
}
713
719
 
714
720