phaseField icon indicating copy to clipboard operation
phaseField copied to clipboard

_nucleating_precipitates_MgRE

Open Batmanabcdefg opened this issue 5 years ago • 4 comments

DEAL:II 9.0.0

/phaseField/applications/_nucleating_precipitates_MgRE/equations.h:422:1: error: expected declaration before ‘}’ token
 }
 ^

Batmanabcdefg avatar Jul 22 '19 22:07 Batmanabcdefg

i have the same issue when running _nucleating_precipitates_MgRE Here is the specific errors below:

In file included from /home/dealii/phaseField/applications/_nucleating_precipitates_MgRE/main.cc:8:0: /home/dealii/phaseField/applications/_nucleating_precipitates_MgRE/equations.h:422:1: error: expected declaration before ‘}’ token } ^ CMakeFiles/main.dir/build.make:62: recipe for target 'CMakeFiles/main.dir/main.cc.o' failed make[6]: *** [CMakeFiles/main.dir/main.cc.o] Error 1 CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/main.dir/all' failed make[5]: *** [CMakeFiles/main.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make[4]: *** [all] Error 2 CMakeFiles/release.dir/build.make:57: recipe for target 'CMakeFiles/release' failed make[3]: *** [CMakeFiles/release] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/release.dir/all' failed make[2]: *** [CMakeFiles/release.dir/all] Error 2 CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/release.dir/rule' failed make[1]: *** [CMakeFiles/release.dir/rule] Error 2 Makefile:118: recipe for target 'release' failed make: *** [release] Error 2

zrrrleo avatar Jun 09 '20 04:06 zrrrleo

Hello zrrrleo,

Did you modify anything from the file? It looks like the error is occurring in the *equations.h *

If you do not mind sharing your file, I can have a look.

Also, from the file name it looks like your version of PRISMS-PF is not the most recent. Unless you are using the Docker container, you should probably updated it (we plan to update the Docker version soon).

David

On Tue, Jun 9, 2020 at 12:47 AM zrrrleo [email protected] wrote:

i have the same issue when running _nucleating_precipitates_MgRE Here is the specific errors below:

In file included from /home/dealii/phaseField/applications/_nucleating_precipitates_MgRE/main.cc:8:0: /home/dealii/phaseField/applications/_nucleating_precipitates_MgRE/equations.h:422:1: error: expected declaration before ‘}’ token } ^ CMakeFiles/main.dir/build.make:62: recipe for target 'CMakeFiles/main.dir/main.cc.o' failed make[6]: *** [CMakeFiles/main.dir/main.cc.o] Error 1 CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/main.dir/all' failed make[5]: *** [CMakeFiles/main.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make[4]: *** [all] Error 2 CMakeFiles/release.dir/build.make:57: recipe for target 'CMakeFiles/release' failed make[3]: *** [CMakeFiles/release] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/release.dir/all' failed make[2]: *** [CMakeFiles/release.dir/all] Error 2 CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/release.dir/rule' failed make[1]: *** [CMakeFiles/release.dir/rule] Error 2 Makefile:118: recipe for target 'release' failed make: *** [release] Error 2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prisms-center/phaseField/issues/139#issuecomment-641025445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3FA45XT375XPUFPJCWTETRVW5HDANCNFSM4IF5NVPA .

david-montiel-t avatar Jun 09 '20 14:06 david-montiel-t

Hi zrrrleo and David, There's an old convention that apps that start with an underscore are under development and aren't guaranteed to work. That's certainly the case for _nucleating_precipitates_MgRE. It is supposed to be the released version of some internal work (the beta1 work), but I never fully finished it.

I recommend deleting that app along with _allenCahn implicit and discontinuing the underscored app convention. With version control it is unnecessary, work in progress should be on its own branch. All it accomplishes is to confuse people (and I say that as the person who created both apps).

Steve

stvdwtt avatar Jun 09 '20 18:06 stvdwtt

Hello David, Thanks for your reply. I am realy running PRISMS on a Docker container for convenience without configuring paths. Looking forward to your new Docker version.

zrrrleo avatar Jun 11 '20 08:06 zrrrleo