Commit of some improvements when running under Cygwin
* musredit can now be built using Qt 4.5.3 of Cygwin 1.7---however, without online help * FFTW3 threading in some user functions has been disabled Obviously, there is a major problem when running musrgui/musredit with Cygwin on Windows7/64bit. This has not been solved by this commit!
This commit is contained in:
@@ -155,16 +155,12 @@ TFilmTriVortexNGLFieldCalc::TFilmTriVortexNGLFieldCalc(const string& wisdom, con
|
||||
fParam.resize(3);
|
||||
fGridExists = false;
|
||||
|
||||
#ifdef HAVE_LIBFFTW3_THREADS
|
||||
#if !defined(_WIN32GCC) && defined(HAVE_LIBFFTW3F_THREADS) && defined(HAVE_GOMP)
|
||||
int init_threads(fftwf_init_threads());
|
||||
if (init_threads) {
|
||||
#ifdef HAVE_GOMP
|
||||
fftwf_plan_with_nthreads(omp_get_num_procs());
|
||||
#else
|
||||
fftwf_plan_with_nthreads(2);
|
||||
#endif /* HAVE_GOMP */
|
||||
}
|
||||
#endif /* HAVE_LIBFFTW3_THREADS */
|
||||
#endif
|
||||
|
||||
const unsigned int stepsSqStZ(fSteps*fSteps*fStepsZ);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user