A federal judge here yesterday issued a fugitive warrent for the arrest of Frank Edward Terpil of Mclean, who is charged with running a terroist school in Libya. The judge acted after Terpil failed to appear for trail in New York City on separate charges.

Judge John H. Pratt signed the order for Terpil's arrest hours after a Manhattan judge revoked the bail bond that had been posted by Terpil and a codefendant after they were arrested last December and charged with selling 10,000 machine guns to police undercover agents.

Assistant District Attorney Matthew T. Crosson in Manhattan said yesterday that both Terpil and the codefendant, George Korkala, 38, of Nutley, N.J., failed to show up at 10 a.m. yesterday in criminal court in Manhattan for trial.

Until yesterday, Terpil had not missed a day in court or an obligation to report to bail officials, law enforcement authorities said.

At 2 p.m. yesterday, New York State Supreme Court Judge Thomas Galligan, who was to preside at the trial, executed arrest warrents for both Terpil and Korkala after their lawyers told the court that they could not locate their clients and had no information about their whereabouts, prosecutor Crosson said in a telephone interview.

Last April, a federal grand jury in Washington charged Terpil, 40, and Edwin P. Wilson, 51, a former CIA operative from Upperville, Va., with conspiracy in connection with the operation of a secret training school for terroists in Libya. The president of a California-based explosives firm also was charged by the grand jury with conspiracy.

The indictment charged that the three men conspired to ship high-powered explosives and other hazardous materials to lybia. The grand jury said that as part of the conspiracy in 1976 and 1977, the men recruited American citizens to construct explosive devices in Libya and teach others the process.

The U.S. attorney's office in Washington obtained a fugitive arrest warrant for Wilson, who is believed to be in Europe.

Terpil was arrested shortly after the indictment was returned. U.S. magistrate Lawrence S. Margolis released Terpil from custody on a $75,000 bond after Terpil posted $15,000 in cash and the balance in property and other collateral. The California executive, Jerome S. Brower, 60, has been free on personal recognizance.

Terpil and Brower are scheduled to stand trial before Pratt Nov. 5 on the charges pending here.

Terpil was released from custody in New York after he posted a $50,000 bond in cash and collateral, and Korkala was released after posting a bond of $30,000 in cash and collateral, Crosson said.