Giter Site home page Giter Site logo

Hello, I have a Problem. about fdtd3d HOT 3 CLOSED

wookhyun6165 avatar wookhyun6165 commented on August 30, 2024
Hello, I have a Problem.

from fdtd3d.

Comments (3)

zer011b avatar zer011b commented on August 30, 2024

Simple make command will try to build all targets, and unit-test-approximation is not supported in release mode, for example. So you should use make fdtd3d.

Please, share build commands, which you've used.

from fdtd3d.

wookhyun6165 avatar wookhyun6165 commented on August 30, 2024

Oh, Thanks for your kind reply.
1.
I started to type the command as bellow :

%%%%%%%%%%%%%%%%%%%%%%%%%%%
mkdir Release
cd Release
cmake .. -DCMAKE_BUILD_TYPE=Release
make
%%%%%%%%%%%%%%%%%%%%%%%%%%%

As a result, I found that ans error occurred and The reason is release mode.

I have another question about Prerequisites.
I typed the command as bellow :

%%%%%%%%%%%%%%%%%%%%%%%%%%%
./install-cmake.sh
export PATH=pwd/Third-party/cmake/bin:$PATH
%%%%%%%%%%%%%%%%%%%%%%%%%%%

Then, I got an error message like this :

%%%%%%%%%%%%%%%%%%%%%%%%%%%

Finally, I'd like to simulate 'sphere.txt' in "./Examples".
How can i proceed and get results?

I'm so sorry to bother you so much.
Since I'm a beginner of Github and Linux, i need your help.
Thank you for reading my @issue.
Have a good day ~ !

from fdtd3d.

zer011b avatar zer011b commented on August 30, 2024
  1. Example is not correct in this sense, it is very general. You can configure many parameters with cmake to be specific for your needs, see https://github.com/zer011b/fdtd3d/blob/master/Docs/Build.md. Then, invoke:
make fdtd3d
  1. You do not need to build cmake manually, if there are binaries shipped for your OS (see https://cmake.org/download/).

  2. Launch is described in https://github.com/zer011b/fdtd3d/blob/master/Docs/Launch.md. Basically, you'll need to invoke:

./Release/Source/fdtd3d --cmd-from-file ./Examples/sphere.txt

On how to get output, see https://github.com/zer011b/fdtd3d/blob/master/Docs/Input-Output.md.

from fdtd3d.

Related Issues (20)

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.