multithreading - How to set all global variables in a Fortran module to private for OpenMP? -


i know how can set global variables in fortran module call in omp parallel section. know threadprivate can set list of variables private, have many global variables set. there way change default private global variables?

there no such way (as far aware of). use threadprivate , list variables need. if have many global variables, rid of them. not sign of code design.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -