linux编译MPI-IS/mesh

本文档详细介绍了如何在Linux系统中编译MPI-IS/mesh项目,包括依赖库的安装、配置步骤和编译过程,适用于科学计算和并行计算领域的研究者与开发者。
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:27: error: ‘make_unique’ is not a member of ‘std’ 151 | field0Ptr_ = std::make_unique<this_type>(field0, this->mesh()); | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:48: error: expected primary-expression before ‘>’ token 151 | field0Ptr_ = std::make_unique<this_type>(field0, this->mesh()); | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In copy constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::GeometricField<Type, PatchField, GeoMesh>&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:27: error: ‘make_unique’ is not a member of ‘std’ 573 | field0Ptr_ = std::make_unique<this_type>(*gf.field0Ptr_); | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:48: error: expected primary-expression before ‘>’ token 573 | field0Ptr_ = std::make_unique<this_type>(*gf.field0Ptr_); | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:27: error: ‘make_unique’ is not a member of ‘std’ 616 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:48: error: expected primary-expression before ‘>’ token 616 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::word&, const Foam::GeometricField<Type, PatchField, GeoMesh>&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:27: error: ‘make_unique’ is not a member of ‘std’ 663 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:48: error: expected primary-expression before ‘>’ token 663 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const Foam::word&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:27: error: ‘make_unique’ is not a member of ‘std’ 711 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:48: error: expected primary-expression before ‘>’ token 711 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const wordList&, const wordList&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:27: error: ‘make_unique’ is not a member of ‘std’ 747 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:48: error: expected primary-expression before ‘>’ token 747 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const labelList&, const Foam::word&)’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:27: error: ‘make_unique’ is not a member of ‘std’ 776 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:48: error: expected primary-expression before ‘>’ token 776 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In member function ‘const Foam::GeometricField<Type, PatchField, GeoMesh>& Foam::GeometricField<Type, PatchField, GeoMesh>::oldTime() const’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:27: error: ‘make_unique’ is not a member of ‘std’ 949 | field0Ptr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:27: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:48: error: expected primary-expression before ‘>’ token 949 | field0Ptr_ = std::make_unique<this_type> | ^ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In member function ‘void Foam::GeometricField<Type, PatchField, GeoMesh>::storePrevIter() const’: /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:34: error: ‘make_unique’ is not a member of ‘std’ 1003 | fieldPrevIterPtr_ = std::make_unique<this_type> | ^~~~~~~~~~~ /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:34: note: ‘std::make_unique’ is only available from C++14 onwards /home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:55: error: expected primary-expression before ‘>’ token 1003 | fieldPrevIterPtr_ = std::make_unique<this_type> | ^
最新发布
06-29
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值