Code Monkey home page Code Monkey logo

neopz's Introduction

INFO

This repository contains the code used to generate the results in my MSc dissertation.

At that time, the code was part of the NeoPZ library and much was left unchanged. The relevant target is NewModalAnalysis, however, a couple of targets are still present, but I am not sure if they work.

In order to compile the code one needs to do the following:

Dependencies

Configuring dependencies

The following are merely suggestions that worked for me under Ubuntu 20.04 when trying to ressucitate the code.

Open-MPI

Tested with version 4.0.0.

sh ./configure --prefix MPI_PATH make all make install

IMPORTANT: Add ${MPI_PATH}/lib to LD_LIBRARY_PATH.

PETSC

Tested with version 3.15.

sh ./configure --with-scalar-type=complex --with-debugging=0 --with-blaslapack-dir=${MKL_PATH} --with-mpi-dir=${MPI_PATH} --with-fc=0 make

Note: Replace instances of MPI_Handler_function to MPI_Comm_errhandler_function if using MPI with version >= 3.0.0.

ARPACK

Tested with version 3.8.0

sh cmake -DBUILD_SHARED_LIBS=ON -DBLA_VENDOR=Intel10_64lp -DMPI=ON .. make

SLEPC

Tested with version 3.15.1

sh ./configure --with-arpack=1 --with-arpack-dir=${ARPACK_BUILD_DIR} make

Configuring NeoPZ

sh cmake -S . -B build -DSTATE_TYPE="complex<double>" -DBUILD_PROJECTS=ON -DUSING_SLEPC=ON -DUSING_BOOST=ON

SEE OLD README BELOW

Instructions to use NeoPZ environment:

I. CASE: USER

  1. Download NeoPZ from Google Code, using: anonimous: cvs

    To be commiter you need to register with Philippe Devloo ( [email protected] )

II. CASE DEVELOPER:

  1. NeoPZ is a environment ready to work with CMake version up to 2.6 (Recomendable version 2.8.5). You can download from http://www.cmake.org/cmake/resources/software.html

  2. NeoPZ use the following libraries: a. pthread b. FAD - You can get the automatic differentiation library from http://www.ann.jussieu.fr/pironneau/ c. boost - You can get from http://www.boost.org/ but you can to use alone the most modules.

  3. You can to download the source files from: http://code.google.com/p/neopz/ To see only use a command line:

    svn checkout http://neopz.googlecode.com/svn/trunk/ neopz-read-only you don't need to be registered.

    To register send e-mail to Philippe Devloo - [email protected]

VISUALIZATION PACKAGES

  1. V3D : 3D Image Visualization and Analysis systems for bioimages and surface objects. Download from http://penglab.janelia.org/proj/v3d/V3D/Download.html

  2. MVGraph : Multivariate Interactive Visualization Download package and reference manual from http://cran.r-project.org/web/packages/mvgraph/index.html

  3. VTK

obsolete

Instruções gerais para uso do NeoPZ:

  1. Baixe o NeoPZ do CVS (se voce esta lendo isto, parabéns! Já conseguiu!).

  2. Sendo desenvolvedor, você vai precisar atualizar alguns arquivos de configuração. Para isso dê os comandos:

    aclocal automake autoconf

  3. Voilá! Você acaba de gerar um script chamado 'configure' que gerará os makefile's automaticamente. Opções do configure:

    --prefix -> com esta opção você diz aonde o NeoPZ será instalado;

    --enable-metis -> use o MeTiS (por enquanto, use sempre esta opção);

    --with-metis-dir -> para direcionar o compilador para o diretorio onde o MeTiS está instalado. Recomendo que você use aquele que vem com o CFDEmbraer;

    --with-compilation-mode -> há três opções: devel, para compilação com debug, profiling para compilação para perfilação e opt, para modo turbo (usando os mais obscuros flags do g++).

Exemplos:

./configure --prefix=/home/pos/cantao/temp/PZ --enable-metis

Configura o NeoPZ para ser instalado no diretorio PZ do temp da minha área, com MeTiS habilitado. (Neste caso assume-se que o MeTiS está instalado em /usr/local/Metis-4.0)

./configure --enable-metis --with-metis-dir=/home/pos/cantao/embraer/CFDEmbraer/Metis-4.0

Idem acima, assumindo que o MeTiS está instalado em /home/pos/cantao/embraer/CFDEmbraer/Metis-4.0. O NeoPZ será instalado em /usr/local.

./configure --with-compilation-mode=opt

Tudo padrão, com opções de código otimizado.

Futuramente esta dependência do MeTiS será realmente opcional! .

neopz's People

Contributors

orlandini avatar omarduran avatar philippedevloo avatar jorgediazcalle avatar thiagoquinelato avatar nathanshauer avatar agnaldofarias avatar pablogscarvalho avatar salguodac avatar santos-td avatar luizcmarques avatar jbvilleg avatar gilvanvieira avatar marcioivan avatar denisesiq avatar 0mars avatar cajux avatar lgcerigatto avatar raulb84 avatar superdan1119 avatar bvigiato avatar manouchehrsanei avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.