# Trouble making rebased version of ASPECT on cluster

**URL:** https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416
**Category:** ASPECT
**Created:** [February 5, 2019, 3:25am UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416 "2019-02-05T03:25:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![SophieCoulson](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/sophiecoulson/32/147_2.png) [@SophieCoulson](https://community.geodynamics.org/u/SophieCoulson)
#### Post date: [February 5, 2019, 3:25am UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/1 "2019-02-05T03:25:59Z")

</div>

Hi,  
I just rebased from master (for the first time since the hackathon) and am now having trouble building on the cluster. Strangely the new version makes fine on my laptop, but gives the error message below when I ‘make release’ on the cluster.  
I’m using deal.II version 8.5.0, do I perhaps need to update to a newer version?

Thanks in advance for your help,  
Sophie

[25%] Building CXX object CMakeFiles/aspect.dir/source/simulator/core.cc.o  
/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(150): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (dealii::ParameterHandler)  
std\_cxx14::make\_unique\<MeltHandler\>(prm) :  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=2]” at line 1868

/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(117): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (int, bool)  
return std\_cxx14::make\_unique\<MappingQ\>(4, true);  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during:  
instantiation of “std::unique\_ptr\<dealii::Mapping\<dim, dim\>, std::default\_delete\<dealii::Mapping\<dim, dim\>\>\> aspect::::construct\_mapping(const aspect::GeometryModel::Interface &, const aspect::InitialTopographyModel::Interface &) [with dim=2]” at line 203  
instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=2]” at line 1868

/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(344): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (aspect::Simulator\<2\>, dealii::ParameterHandler)  
free\_surface = std\_cxx14::make\_unique\<FreeSurfaceHandler\>(\*this, prm );  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=2]” at line 1868

/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(150): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (dealii::ParameterHandler)  
std\_cxx14::make\_unique\<MeltHandler\>(prm) :  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=3]” at line 1868

/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(117): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (int, bool)  
return std\_cxx14::make\_unique\<MappingQ\>(4, true);  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during:  
instantiation of “std::unique\_ptr\<dealii::Mapping\<dim, dim\>, std::default\_delete\<dealii::Mapping\<dim, dim\>\>\> aspect::::construct\_mapping(const aspect::GeometryModel::Interface &, const aspect::InitialTopographyModel::Interface &) [with dim=3]” at line 203  
instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=3]” at line 1868

/n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc(344): error: no instance of function template “dealii::std\_cxx14::make\_unique” matches the argument list  
argument types are: (aspect::Simulator\<3\>, dealii::ParameterHandler)  
free\_surface = std\_cxx14::make\_unique\<FreeSurfaceHandler\>(\*this, prm );  
^  
/n/home08/slcoulson/aspect\_projects/aspect/include/aspect/compat.h(162): note: this candidate was rejected because mismatch in count of arguments  
make\_unique()  
^  
detected during instantiation of “aspect::Simulator::Simulator(MPI\_Comm, dealii::ParameterHandler &) [with dim=3]” at line 1868

compilation aborted for /n/home08/slcoulson/aspect\_projects/aspect/source/simulator/core.cc (code 2)  
gmake[6]: \*\*\* [CMakeFiles/aspect.dir/source/simulator/core.cc.o] Error 2  
gmake[5]: \*\*\* [CMakeFiles/aspect.dir/all] Error 2  
gmake[4]: \*\*\* [all] Error 2  
make[3]: \*\*\* [CMakeFiles/release] Error 2  
make[2]: \*\*\* [CMakeFiles/release.dir/all] Error 2  
make[1]: \*\*\* [CMakeFiles/release.dir/rule] Error 2  
make: \*\*\* [release] Error 2

---

<div class="post-metadata">

### Author: ![bangerth](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/bangerth/32/52_2.png) [@bangerth](https://community.geodynamics.org/u/bangerth)
#### Post date: [February 5, 2019, 3:39am UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/2 "2019-02-05T03:39:34Z")

</div>

I was afraid this was going to happen ☹

I know how to fix it and will do so tomorrow.

Best  
W.

---

<div class="post-metadata">

### Author: ![bangerth](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/bangerth/32/52_2.png) [@bangerth](https://community.geodynamics.org/u/bangerth)
#### Post date: [February 5, 2019, 2:03pm UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/3 "2019-02-05T14:03:38Z")

</div>

Sophie,  
could you try this patch here:

> <https://github.com/geodynamics/aspect/pull/2801>

I am pretty sure that this should work, but have no way of testing it myself ☹

Best  
W.

---

<div class="post-metadata">

### Author: ![SophieCoulson](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/sophiecoulson/32/147_2.png) [@SophieCoulson](https://community.geodynamics.org/u/SophieCoulson)
#### Post date: [February 5, 2019, 4:15pm UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/4 "2019-02-05T16:15:39Z")

</div>

Thanks Wolfgang. Please can you remind me how to pull the patch? It’s been a while…

---

<div class="post-metadata">

### Author: ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)
#### Post date: [February 5, 2019, 4:54pm UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/5 "2019-02-05T16:54:33Z")

</div>

> <https://stackoverflow.com/questions/6743514/how-can-i-fetch-an-unmerged-pull-request-for-a-branch-i-dont-own>

---

<div class="post-metadata">

### Author: ![SophieCoulson](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/sophiecoulson/32/147_2.png) [@SophieCoulson](https://community.geodynamics.org/u/SophieCoulson)
#### Post date: [February 5, 2019, 9:21pm UTC](https://community.geodynamics.org/t/trouble-making-rebased-version-of-aspect-on-cluster/416/6 "2019-02-05T21:21:59Z")

</div>

Thank you!
