On 04/02/2015 13:31, Joe Taylor wrote: > Hi Bill and all, Hi Joe, > > Probably you already know this, but just in case... > > I ran WSJT-X over last night using jt9_omp.exe (renamed to jt9.exe, > and dropped in as a replacement) under r4928. It ran OK for a while, > producing interspersed decodes in both modes. The decoder then > crashed, popping up the attached error message. That is different for the ones I am seeing although if you are using a release configuration build that might be collateral damage from an un caught array bounds violation. > > I assume that we still have one or more thread-safety issues. timer.f90 is the main culprit. Also four2a.f90 may still have some issues but I think that one is OK.
There is a secondary problem with stack size. Because OpenMP forces all local arrays to be on the stack there is an overly large stack requirement. This could be reduced by giving the SAVE attribute to some of them, the downside of that is that they then become shared between threads and we either have to make sure that one one thread can ever modify them or serialize access to them if they can and should be shared between threads. Another outstanding issue is Mac builds, currently we use the Mac native compilers for C & C++ (clang/clang++). Those compilers do not have (working) OpenMP support. I am experimenting with using gcc/g++ to build, also I am experimenting with only having the Fortran compiler having OpenMP support and continuing to mix gfortran compiled object files with clang/clang++ but I doubt this is going work. Hopefully the former will be viable. > > -- Joe, K1JT 73 Bill G4WJS. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
