ModernElectron / WarpX

Modern Electron's WarpX repository serves as both a fork of the WarpX code (an advanced electromagnetic Particle-In-Cell code - see https://ecp-warpx.github.io) and the repository for a set of tools used in simulating thermionic devices (mewarpx).
https://mewarpx.readthedocs.io/en/latest/index.html
Other
0 stars 1 forks source link

Add example call of reflection in the diode setup #201

Closed peterscherpelz closed 2 years ago

peterscherpelz commented 2 years ago

And a test for it to verify it's working

KZhu-ME commented 2 years ago

After googling and playing around with ssh in circleci, I found that installing libomp-dev fixes the current build errors. Here's the output of sudo apt-get install libomp-dev.

$ sudo apt-get install libomp-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libomp-14-dev libomp5-14
Suggested packages:
  libomp-14-doc
The following NEW packages will be installed:
  libomp-14-dev libomp-dev libomp5-14
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 738 kB of archives.
After this operation, 8,991 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libomp5-14 amd64 1:14.0.0-1ubuntu1 [388 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libomp-14-dev amd64 1:14.0.0-1ubuntu1 [347 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libomp-dev amd64 1:14.0-55~exp2 [3,074 B]
Fetched 738 kB in 0s (6,321 kB/s)      
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libomp5-14:amd64.
(Reading database ... 54311 files and directories currently installed.)
Preparing to unpack .../libomp5-14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libomp5-14:amd64 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package libomp-14-dev.
Preparing to unpack .../libomp-14-dev_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libomp-14-dev (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package libomp-dev:amd64.
Preparing to unpack .../libomp-dev_1%3a14.0-55~exp2_amd64.deb ...
Unpacking libomp-dev:amd64 (1:14.0-55~exp2) ...
Setting up libomp5-14:amd64 (1:14.0.0-1ubuntu1) ...
Setting up libomp-14-dev (1:14.0.0-1ubuntu1) ...
Setting up libomp-dev:amd64 (1:14.0-55~exp2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

Here is the list of packages before the install:

$ sudo apt list | grep libomp

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libomp-11-dev/jammy 1:11.1.0-6 amd64
libomp-11-doc/jammy 1:11.1.0-6 amd64
libomp-12-dev/jammy 1:12.0.1-19ubuntu3 amd64
libomp-12-doc/jammy 1:12.0.1-19ubuntu3 amd64
libomp-13-dev/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp-13-doc/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp-14-dev/jammy 1:14.0.0-1ubuntu1 amd64
libomp-14-doc/jammy 1:14.0.0-1ubuntu1 amd64
libomp-dev/jammy 1:14.0-55~exp2 amd64
libomp5-11/jammy 1:11.1.0-6 amd64
libomp5-12/jammy 1:12.0.1-19ubuntu3 amd64
libomp5-13/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp5-14/jammy 1:14.0.0-1ubuntu1 amd64
libomp5/jammy 1:14.0-55~exp2 amd64
libompl-dev/jammy 1.5.2+ds1-1 amd64
libompl16/jammy 1.5.2+ds1-1 amd64

and here is the list after installing

sudo apt list | grep libomp

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libomp-11-dev/jammy 1:11.1.0-6 amd64
libomp-11-doc/jammy 1:11.1.0-6 amd64
libomp-12-dev/jammy 1:12.0.1-19ubuntu3 amd64
libomp-12-doc/jammy 1:12.0.1-19ubuntu3 amd64
libomp-13-dev/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp-13-doc/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp-14-dev/jammy,now 1:14.0.0-1ubuntu1 amd64 [installed,automatic]
libomp-14-doc/jammy 1:14.0.0-1ubuntu1 amd64
libomp-dev/jammy,now 1:14.0-55~exp2 amd64 [installed]
libomp5-11/jammy 1:11.1.0-6 amd64
libomp5-12/jammy 1:12.0.1-19ubuntu3 amd64
libomp5-13/jammy-updates,jammy-security 1:13.0.1-2ubuntu2.1 amd64
libomp5-14/jammy,now 1:14.0.0-1ubuntu1 amd64 [installed,automatic]
libomp5/jammy 1:14.0-55~exp2 amd64
libompl-dev/jammy 1.5.2+ds1-1 amd64
libompl16/jammy 1.5.2+ds1-1 amd64