LightBridge
  • Services
  • Ansys Lumerical
  • About
    • The Company
    • Our Team
  • Get in touch
  • Menu Menu
現在位置: ホーム1 / Lumerical FDTD GPU ソルバー 情報2 / ブログ3 / Lumerical FDTD GPU ソルバー 情報
ブログ

Lumerical FDTD GPU ソルバー 情報

2023 R2 リリース以降、Lumerical FDTD は GPU 計算をサポートしています。

このページでは、Lumerical FDTD GPU ソルバーの要件と現在の制限についてまとめます。

ハードウェア要件

GPU 上で Lumerical FDTD シミュレーションを実行するには、NVIDIA CUDA ドライバーのバージョン 450.80.02 以降 (Linux)、バージョン 452.39 以降 (Windows) が必要です。さらに、NVIDIA GPU は次の要件を満たしている必要があります:

  • GPU は Compute Capability 3.0 (Kepler マイクロアーキテクチャ以降) 以上である必要があります。
    • 古いデバイスのドライバーは 2019 年 1 月に廃止されました。
  • Unified Memory が使用可能で有効になっている必要があります。
  • デスクトップ、ノートパソコン、ベアメタルサーバーでは常に有効になっています。
  • AWS EC2 インスタンスなどの「GPU パススルー」を宣伝するクラウドインスタンスでは通常有効になっています。
  • その他の仮想環境サービスプロバイダーは、NVIDIA Virtual GPU Software User Guide を参照してください。
  • ハイパーバイザーは GPU パススルーを提供するように構成されている必要があります (物理デバイスが特定の仮想マシンに専用される場合)。
  • Unified Memory は各 vGPU で有効にする必要がある場合があります。

GPU 使用状況を監視するには、NVIDIA System Management コマンドラインユーティリティによって報告される「GPU-Util」値を使用します。Windows ユーザーは、Windows タスクマネージャーはグラフィックス関連の GPU 使用率のみを報告していることに注意してください。

ライセンス要件

GPU ソルバーの使用量は CPU ソルバー (Ansys optics solve、accelerator、Ansys HPC ライセンスの使用量を参照) と似ています。ライセンス使用量の計算では、Streaming Multiprocessors (SM) を CPU と同じように扱います。たとえば、Ansys Standard/Business ライセンスでは、16 SM ごとに Lumerical Accelerator (エンジンライセンス) が必要です。部分的なカウントはありません。たとえば、40 SM の GPU では、任意のジョブを実行するには 3 つのライセンスが必要です。
FDTD ジョブは GPU 内のすべての利用可能な SM を使用します。つまり、ジョブごとの SM 数はユーザーが構成できません。そのため、すべての GPU SM に十分なライセンスが必要です。
複数のジョブを実行する場合は、並列ではなく連続で実行することをお勧めします。並列実行にはジョブの数と同じ数のライセンスが必要ですが、シリアル実行と同じ時間がかかります。たとえば、16 SM 以下で GPU を同時に使用して 2 つのジョブを実行するには 2 つのライセンスが必要ですが、同じマシンで 1 つのライセンスのみで 1 つのジョブ実行後に続けて実行すると、おおよそ同じ時間で計算が終了します。
GPU 内の SM の数は、NVIDIA のドキュメント、サードパーティの Web サイト、Job Manager Configuration テストの GPU リソース (localhost のみ) を実行することで見つけることができます。

Job Manager Configuration テストの GPU リソース

FDTD GPU エンジンを実行したログファイル

start loading CUDA query DLL...
load CUDA query DLL successfully.
GPU streaming multiprocessors (SMs): 16

FDTD GPU エンジンを実行した後の FDTD 結果の「total gpu sms」

total gpu sms

注意: CPU と同様に、メモリ帯域幅はコア数よりもパフォーマンスにとって重要です (CPU での FDTD ベンチマークを参照)。

Lumerical FDTD GPU ソルバー シミュレーション要件

Lumerical FDTD GPU ソルバーは 3D FDTD シミュレーションのみを実行できます。FDTD オブジェクトプロパティ (advanced optionsタブ) で「express mode」オプションを有効にする必要があります。

FDTD オブジェクトプロパティ (advanced optionsタブ) で「express mode」オプションを有効

GPU ソルバーは、狭帯域シミュレーションまたは無分散材料を使用したシミュレーションに適しています。
すべてのムービーモニターは無効になっています。

Resource設定で、ジョブマネージャーを「CPU」から「GPU」に切り替えます。

  • ローカルマシンに複数の GPU がある場合は、ジョブマネージャーで特定の GPU を選択できます。エンジンを実行すると、ジョブマネージャーは標準 CUDA_VISIBLE_DEVICES 環境変数を構成します。
  • リモートマシンに複数の GPU がある場合は、mpiexec.exe の適切な「追加コマンドラインオプション」を指定することで、特定のGPUを選択できます。たとえば、Microsoft MPI を使用したリモートマシンで GPU 3 を選択するには、追加のコマンドラインオプション /env CUDA_VISIBLE_DEVICES 3 を指定します。
Resource設定でジョブマネージャーを「CPU」から「GPU」に切り替え

スクリプトアクセス/自動化

FDTD ソルバープロパティ「express mode」のON

setnamed("FDTD", "express mode", true);

FDTD リソースマネージャー

setresource("FDTD","GPU", true);
setresource("FDTD", 3, "GPU Device", "Auto");
setresource("FDTD", "GPU", false);
setresource("FDTD", "CPU", true); //< equivalent to previous line

リモートホスト GPU を許可するには、「GPU デバイス」の値は検証されません。デフォルトは「Auto」です。ユーザーは整数値を設定する必要があります。

制限事項

FDTD ソルバー

PML 境界条件のみサポートされます。Bloch、周期、対称、反対称、PEC、PMC 境界条件はサポートされません。

光源

モードソース/ポート

  • 周波数依存モードプロファイルはサポートされません。

全界散乱界 (TFSF) ソース

  • TFSF ソースはサポートされません。

モニター

時間モニター

  • 時間モニターは GPU パフォーマンスを制限します。デバッグと予備シミュレーションにのみ使用することをお勧めします。
  • 空間補間はサポートされていません。

周波数領域モニター

  • 部分および全スペクトル平均化はサポートされていません。
  • アポダイゼーションはサポートされていません。

その他

レイヤービルダー

  • レイヤービルダーが制限付きプロセスファイルを使用している場合、FDTD GPU エンジンを使用できません。
  • PML タイプ シミュレーション境界条件の「一軸異方性 PML (レガシー)」PML タイプはサポートされません。

9月 21, 2023
タグ: Ansys Lumerical, Lumerical FDTD
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share by Mail
https://www.lightbridge.co.jp/wp-content/uploads/2023/09/Lumerical-FDTD_GPU_featured-e1695307140874.webp 133 147 Redouane Katouf https://www.lightbridge.co.jp/wp-content/uploads/2022/03/logo_LightBridge-300x88.webp Redouane Katouf2023-09-21 23:51:422024-09-24 23:39:40Lumerical FDTD GPU ソルバー 情報
次も気に入っていただけるかもしれません。
Fiber to Photonic Chip coupling with a microlens ファイバーとフォトニックチップの結合:マイクロレンズとエッジカプラを用いたアプローチ
フォトニックとファイバの統合されたコンポーネント Lumerical FDTDとLumerical MODEにおけるブロッホ境界条件(Bloch boundary conditions)
フォトニックとファイバの統合されたコンポーネント FDTD法とEME法の比較
フォトニックとファイバの統合されたコンポーネント Lumerical 2024R1.1 リリースノート
フォトニックとファイバの統合されたコンポーネント 一般的な Lumerical FDTD トラブルシューティングのヒントとコツ
フォトニックとファイバの統合されたコンポーネント フォトニック結晶ナノ共振器の設計・解析

目次:

LightBridge

Want to learn more? Feel free to contact us!

LightBridge offers a wide range of services to solve your photonics and optics problems, including design, analysis and photonic IC fabrication. Contact us to find out more.

Contact Us

IMPRINT

LightBridge | Photonics solutions | 4-10-2 Nakano, Nakano-Ku, Tokyo
Phone: +81 50 4560 0330  | Fax: +81 3 5310 3774 | Email: inquiry[@]lightbridge.co.jp

DISCLAIMER

We care about data privacy and security. Please review our Privacy Policy posted on the Site. By using the Site, you agree to be bound by our Privacy Policy, which is incorporated into these Terms and Conditions. Please be advised the Site is hosted in Japan.

About | Contact | Terms-and-conditions

© Copyright 2015-2025 LightBridge Ltd. All rights reserved.

Link to: Ansys Lumerical、2023R2リリースでフォトニクス設計の革新を加速 Link to: Ansys Lumerical、2023R2リリースでフォトニクス設計の革新を加速 Ansys Lumerical、2023R2リリースでフォトニクス設計の革新を...Ansys Lumerical 2023R2 リリース Link to: 光学設計ソフトウェア Lumerical と Zemax の連携方法 Link to: 光学設計ソフトウェア Lumerical と Zemax の連携方法 光学設計ソフトウェア Lumerical と Zemax の連携方法
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OK

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Terms-and-conditions
Accept settingsHide notification only