<div dir="ltr">Hi Ryunosuke,<div><br></div><div>Which file gave your compilation error? Was it a file that you wrote?</div><div><br></div><div>You can check if pt_interface.F90 is in your object directory. If it is not, you can go into /PATH_TO_FLASH/source/Particles and do "find . -name pt_interface.F90" to find all versions of that file. </div><div><br></div><div>That may indicate what other REQUIRES/REQUESTS to add to your Config file.</div><div>You can also copy pt_interface.F90 to your problem directory, especially if you want to modify it.</div><div><br></div><div>Best,</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 3, 2019 at 9:15 PM 滝沢龍之介 <<a href="mailto:ryunosukeway@icloud.com">ryunosukeway@icloud.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi flash-users,<br>
<br>
I'm trying to use Particles Unit for calculating electric field and charge density generated by laser ablation plasma. And I have modified LaserSlab by adding declaration in Config file below.<br>
<br>
PARTICLETYPE active INITMETHOD lattice MAPMETHOD quadratic ADVMETHOD Leapfrog<br>
REQUIRES Particles/ParticlesMain<br>
REQUIRES Particles/ParticlesMain/active/massive/Leapfrog<br>
REQUESTS Particles/ParticlesMapping/Quadratic<br>
REQUESTS Particles/ParticlesInitialization/Lattice<br>
REQUESTS IO/IOMain/<br>
REQUESTS IO/IOParticles<br>
REQUESTS Particles/ParticlesForces/longRange<br>
REQUIRES Grid/GridParticles<br>
<br>
But there is a compile error below.<br>
<br>
use pt_interface, ONLY : pt_initFinalize<br>
1<br>
Fatal Error: Can't open module file 'pt_interface.mod' for reading at (1): No such file or directory<br>
<br>
Please teach me how to solve this problem. I’m sorry for a fundamental question.<br>
<br>
Thanks,<br>
--------------------------------------------<br>
Ryunosuke Takizawa<br>
<br>
Institute of Laser Engineering, Osaka University<br>
<br>
2-6 Yamada-oka, Suita, Osaka, 565-0871, Japan<br>
<br>
E-mail: <a href="mailto:takizawa-r@ile.osaka-u.ac.jp" target="_blank">takizawa-r@ile.osaka-u.ac.jp</a><br>
<br>
</blockquote></div>